1 | <?php |
||
21 | class SymfonyEventDispatcherAdapter extends AbstractDispatcherAdapter |
||
22 | { |
||
23 | /** |
||
24 | * Adapted dispatcher |
||
25 | * @var Symfony\Component\EventDispatcher\EventDispatcher |
||
26 | */ |
||
27 | protected $dispatcher; |
||
28 | |||
29 | /** |
||
30 | * @param Symfony\Component\EventDispatcher\EventDispatcher $dispatcher |
||
31 | */ |
||
32 | public function __construct(EventDispatcher $dispatcher) |
||
36 | |||
37 | /** |
||
38 | * @see AbstractDispatcherAdapter::add |
||
39 | */ |
||
40 | public function add($name, callable $listener, $priority = 0) |
||
45 | |||
46 | /** |
||
47 | * @see AbstractDispatcherAdapter::remove |
||
48 | */ |
||
49 | public function remove($name, callable $listener) |
||
54 | |||
55 | /** |
||
56 | * @see AbstractDispatcherAdapter::get |
||
57 | */ |
||
58 | public function get($name) |
||
62 | } |
||
63 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..