Conditions | 3 |
Paths | 4 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function __construct( |
||
20 | InotifyProxyInterface $inotifyProxy = null, |
||
21 | EventDispatcherInterface $eventDispatcher = null |
||
22 | ) { |
||
23 | $this->inotifyProxy = $inotifyProxy; |
||
24 | $this->eventDispatcher = $eventDispatcher; |
||
25 | |||
26 | if (null === $eventDispatcher) { |
||
27 | $this->eventDispatcher = new EventDispatcher(); |
||
28 | } |
||
29 | if (null === $inotifyProxy) { |
||
30 | $this->inotifyProxy = new InotifyProxy(); |
||
31 | } |
||
58 | } |
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.