Skip to content

Commit

Permalink
Fix events setEventManager typehint.
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleigh committed Mar 26, 2017
1 parent 1ffc5d1 commit 8352c2a
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions en/reference/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,14 @@ This component is EventsManager aware (it implements :doc:`Phalcon\\Events\\Even
<?php
use Phalcon\Events\ManagerInterface;
use Phalcon\Events\EventsAwareInterface;
use Phalcon\Events\Manager as EventsManager;
class MyComponent implements EventsAwareInterface
{
protected $_eventsManager;
public function setEventsManager(EventsManager $eventsManager)
public function setEventsManager(ManagerInterface $eventsManager)
{
$this->_eventsManager = $eventsManager;
}
Expand Down
4 changes: 2 additions & 2 deletions es/reference/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,14 @@ This component is EventsManager aware (it implements :doc:`Phalcon\\Events\\Even
<?php
use Phalcon\Events\ManagerInterface;
use Phalcon\Events\EventsAwareInterface;
use Phalcon\Events\Manager as EventsManager;
class MyComponent implements EventsAwareInterface
{
protected $_eventsManager;
public function setEventsManager(EventsManager $eventsManager)
public function setEventsManager(ManagerInterface $eventsManager)
{
$this->_eventsManager = $eventsManager;
}
Expand Down
4 changes: 2 additions & 2 deletions fa/reference/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,14 @@ This component is EventsManager aware (it implements :doc:`Phalcon\\Events\\Even
<?php
use Phalcon\Events\ManagerInterface;
use Phalcon\Events\EventsAwareInterface;
use Phalcon\Events\Manager as EventsManager;
class MyComponent implements EventsAwareInterface
{
protected $_eventsManager;
public function setEventsManager(EventsManager $eventsManager)
public function setEventsManager(ManagerInterface $eventsManager)
{
$this->_eventsManager = $eventsManager;
}
Expand Down
4 changes: 2 additions & 2 deletions fr/reference/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,14 @@ This component is EventsManager aware (it implements :doc:`Phalcon\\Events\\Even
<?php
use Phalcon\Events\ManagerInterface;
use Phalcon\Events\EventsAwareInterface;
use Phalcon\Events\Manager as EventsManager;
class MyComponent implements EventsAwareInterface
{
protected $_eventsManager;
public function setEventsManager(EventsManager $eventsManager)
public function setEventsManager(ManagerInterface $eventsManager)
{
$this->_eventsManager = $eventsManager;
}
Expand Down
4 changes: 2 additions & 2 deletions id/reference/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,14 @@ Komponen ini peduli EventsManager (ia mengimplementasi :doc:`Phalcon\\Events\\Ev
<?php
use Phalcon\Events\ManagerInterface;
use Phalcon\Events\EventsAwareInterface;
use Phalcon\Events\Manager as EventsManager;
class MyComponent implements EventsAwareInterface
{
protected $_eventsManager;
public function setEventsManager(EventsManager $eventsManager)
public function setEventsManager(ManagerInterface $eventsManager)
{
$this->_eventsManager = $eventsManager;
}
Expand Down
4 changes: 2 additions & 2 deletions ja/reference/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,14 @@ This component is EventsManager aware (it implements :doc:`Phalcon\\Events\\Even
<?php
use Phalcon\Events\ManagerInterface;
use Phalcon\Events\EventsAwareInterface;
use Phalcon\Events\Manager as EventsManager;
class MyComponent implements EventsAwareInterface
{
protected $_eventsManager;
public function setEventsManager(EventsManager $eventsManager)
public function setEventsManager(ManagerInterface $eventsManager)
{
$this->_eventsManager = $eventsManager;
}
Expand Down
4 changes: 2 additions & 2 deletions pl/reference/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,14 @@ This component is EventsManager aware (it implements :doc:`Phalcon\\Events\\Even
<?php
use Phalcon\Events\ManagerInterface;
use Phalcon\Events\EventsAwareInterface;
use Phalcon\Events\Manager as EventsManager;
class MyComponent implements EventsAwareInterface
{
protected $_eventsManager;
public function setEventsManager(EventsManager $eventsManager)
public function setEventsManager(ManagerInterface $eventsManager)
{
$this->_eventsManager = $eventsManager;
}
Expand Down
4 changes: 2 additions & 2 deletions pt/reference/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,14 @@ This component is EventsManager aware (it implements :doc:`Phalcon\\Events\\Even
<?php
use Phalcon\Events\ManagerInterface;
use Phalcon\Events\EventsAwareInterface;
use Phalcon\Events\Manager as EventsManager;
class MyComponent implements EventsAwareInterface
{
protected $_eventsManager;
public function setEventsManager(EventsManager $eventsManager)
public function setEventsManager(ManagerInterface $eventsManager)
{
$this->_eventsManager = $eventsManager;
}
Expand Down
4 changes: 2 additions & 2 deletions ru/reference/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,14 @@ Attaching an event listener to the events manager is as simple as:
<?php
use Phalcon\Events\ManagerInterface;
use Phalcon\Events\EventsAwareInterface;
use Phalcon\Events\Manager as EventsManager;
class MyComponent implements EventsAwareInterface
{
protected $_eventsManager;
public function setEventsManager(EventsManager $eventsManager)
public function setEventsManager(ManagerInterface $eventsManager)
{
$this->_eventsManager = $eventsManager;
}
Expand Down
4 changes: 2 additions & 2 deletions uk/reference/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,14 @@ This component is EventsManager aware (it implements :doc:`Phalcon\\Events\\Even
<?php
use Phalcon\Events\ManagerInterface;
use Phalcon\Events\EventsAwareInterface;
use Phalcon\Events\Manager as EventsManager;
class MyComponent implements EventsAwareInterface
{
protected $_eventsManager;
public function setEventsManager(EventsManager $eventsManager)
public function setEventsManager(ManagerInterface $eventsManager)
{
$this->_eventsManager = $eventsManager;
}
Expand Down
4 changes: 2 additions & 2 deletions zh/reference/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -159,14 +159,14 @@ Attaching an event listener to the events manager is as simple as:
<?php
use Phalcon\Events\ManagerInterface;
use Phalcon\Events\EventsAwareInterface;
use Phalcon\Events\Manager as EventsManager;
class MyComponent implements EventsAwareInterface
{
protected $_eventsManager;
public function setEventsManager(EventsManager $eventsManager)
public function setEventsManager(ManagerInterface $eventsManager)
{
$this->_eventsManager = $eventsManager;
}
Expand Down

0 comments on commit 8352c2a

Please sign in to comment.