@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | |
| 60 | 60 | protected function oneOfTheChildrenMatches(MenuItemInterface $item): bool |
| 61 | 61 | { |
| 62 | - if (! empty($item->getChildren())) { |
|
| 62 | + if (!empty($item->getChildren())) { |
|
| 63 | 63 | foreach ($item->getChildren() as $subItem) { |
| 64 | 64 | if ($this->matches($subItem)) { |
| 65 | 65 | $item->setInActiveTrail(true); |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | |
| 110 | 110 | private function selectedSubnavItemMatches(MenuItemInterface $item): bool |
| 111 | 111 | { |
| 112 | - if (! isset($this->selectedSubnavItem)) { |
|
| 112 | + if (!isset($this->selectedSubnavItem)) { |
|
| 113 | 113 | return false; |
| 114 | 114 | } |
| 115 | 115 | |
@@ -164,7 +164,7 @@ |
||
| 164 | 164 | $this->children = iterator_to_array($this->children); |
| 165 | 165 | } |
| 166 | 166 | |
| 167 | - return ! empty($this->children); |
|
| 167 | + return !empty($this->children); |
|
| 168 | 168 | } |
| 169 | 169 | |
| 170 | 170 | public function isCurrent(): bool |
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | use Symplify\EasyCodingStandard\Config\ECSConfig; |
| 7 | 7 | use Symplify\EasyCodingStandard\ValueObject\Set\SetList; |
| 8 | 8 | |
| 9 | -return function (ECSConfig $ecsConfig): void { |
|
| 9 | +return function(ECSConfig $ecsConfig): void { |
|
| 10 | 10 | $ecsConfig->paths([ |
| 11 | 11 | __DIR__ . '/src', |
| 12 | 12 | __DIR__ . '/tests', |