| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | private function addCustomerSubMenu(ItemInterface $menu): ItemInterface |
||
| 38 | { |
||
| 39 | $customer = $menu |
||
| 40 | ->addChild('customer') |
||
| 41 | ->setLabel('sylius.ui.customer') |
||
| 42 | ; |
||
| 43 | |||
| 44 | $customer->addChild('backend_customer', ['route' => 'sylius_backend_customer_index']) |
||
| 45 | ->setLabel('sylius.ui.customers') |
||
| 46 | ->setLabelAttribute('icon', 'users'); |
||
| 47 | |||
| 48 | return $customer; |
||
| 49 | } |
||
| 50 | |||
| 65 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.