| Total Complexity | 8 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class MenuRouterRebuildSubscriber implements EventSubscriberInterface { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Rebuilds the menu router if the rebuild.dat file is found. |
||
| 16 | * |
||
| 17 | * @param \Symfony\Component\HttpKernel\Event\GetResponseEvent $event |
||
| 18 | * The Event to process. |
||
| 19 | */ |
||
| 20 | public function onKernelRequestMenuRouterRebuild(GetResponseEvent $event) { |
||
| 29 | } |
||
| 30 | } |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritdoc} |
||
| 35 | */ |
||
| 36 | static function getSubscribedEvents() { |
||
| 43 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.