Skip to content

Commit

Permalink
Changing the interface to return null for getEventsManager
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Sep 22, 2019
1 parent a929373 commit 666ee80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion phalcon/Di/Injectable.zep
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ abstract class Injectable implements InjectionAwareInterface, EventsAwareInterfa
/**
* Returns the internal event manager
*/
public function getEventsManager() -> <ManagerInterface>
public function getEventsManager() -> <ManagerInterface> | null
{
return this->eventsManager;
}
Expand Down
2 changes: 1 addition & 1 deletion phalcon/Events/EventsAwareInterface.zep
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ interface EventsAwareInterface
/**
* Returns the internal event manager
*/
public function getEventsManager() -> <ManagerInterface>;
public function getEventsManager() -> <ManagerInterface> | null;

/**
* Sets the events manager
Expand Down

0 comments on commit 666ee80

Please sign in to comment.