@@ -39,7 +39,7 @@ |
||
| 39 | 39 | |
| 40 | 40 | $uri = $this->generator->generate($item->getRouteName(), $item->getRouteParameters() ?: []); |
| 41 | 41 | |
| 42 | - if ($uri === $this->requestStack->getCurrentRequest()?->getPathInfo()) { |
|
| 42 | + if ($uri === $this->requestStack->getCurrentRequest() ? ->getPathInfo()) { |
|
| 43 | 43 | $item->setCurrent(true); |
| 44 | 44 | return true; |
| 45 | 45 | } |
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | final class UrlMenuItem extends MenuItem |
| 7 | 7 | { |
| 8 | 8 | |
| 9 | - public function __construct(string $label, string $url, ?string $icon, ?array $options) |
|
| 9 | + public function __construct(string $label, string $url, ?string $icon, ?array $options) |
|
| 10 | 10 | { |
| 11 | 11 | parent::__construct($label, $icon, $options); |
| 12 | 12 | |