Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
19 | class PubSubRouter implements PubSubRouterInterface |
||
20 | { |
||
21 | use RouterTrait; |
||
22 | |||
23 | /** |
||
24 | * @param string $path Route path |
||
25 | * @param \Closure|string $callback Callback |
||
26 | * @param string $eventName Event name in dispatcher |
||
27 | * |
||
28 | * @author Donii Sergii <[email protected]> |
||
29 | */ |
||
30 | public function addRoute($path, $callback, $eventName) |
||
31 | { |
||
32 | |||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @inheritDoc |
||
37 | */ |
||
38 | public function dispatch() |
||
40 | |||
41 | } |
||
44 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.