| 1 | <?php |
||
| 9 | class MenuBuilder |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var FactoryInterface |
||
| 13 | */ |
||
| 14 | private $factory; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var EventDispatcherInterface |
||
| 18 | */ |
||
| 19 | private $eventDispatcher; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param FactoryInterface $factory |
||
| 23 | * @param EventDispatcherInterface $eventDispatcher |
||
| 24 | */ |
||
| 25 | public function __construct(FactoryInterface $factory, EventDispatcherInterface $eventDispatcher) |
||
| 30 | |||
| 31 | public function createMainMenu(array $options) |
||
| 42 | } |
||
| 43 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.