1 | <?php declare(strict_types = 1); |
||
13 | class EventDispatcherAdapter extends \Swift_Events_SimpleEventDispatcher |
||
14 | { |
||
15 | /** |
||
16 | * @var EventDispatcher |
||
17 | */ |
||
18 | private $eventDispatcher; |
||
19 | |||
20 | /** |
||
21 | * EventDispatcherAdapter constructor. |
||
22 | * |
||
23 | * @param EventDispatcher $eventDispatcher |
||
24 | */ |
||
25 | 17 | public function __construct(EventDispatcher $eventDispatcher) |
|
30 | |||
31 | /** |
||
32 | * @inheritdoc |
||
33 | */ |
||
34 | public function dispatchEvent(Swift_Events_EventObject $evt, $target) |
||
43 | |||
44 | /** |
||
45 | * @param \Swift_Events_EventObject $evt |
||
46 | * @param $target |
||
47 | * @return string |
||
48 | */ |
||
49 | protected function normalizeEventName(Swift_Events_EventObject $evt, $target) |
||
56 | } |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.