@@ -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', |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | |
| 62 | 62 | protected function oneOfTheChildrenMatches(MenuItemInterface $item): bool |
| 63 | 63 | { |
| 64 | - if (! empty($item->getChildren())) { |
|
| 64 | + if (!empty($item->getChildren())) { |
|
| 65 | 65 | foreach ($item->getChildren() as $subItem) { |
| 66 | 66 | if ($this->matches($subItem)) { |
| 67 | 67 | $item->setInActiveTrail(true); |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | */ |
| 84 | 84 | protected function setSubnavItem(array $context): void |
| 85 | 85 | { |
| 86 | - if (! array_key_exists('selectedSubnavItem', $context)) { |
|
| 86 | + if (!array_key_exists('selectedSubnavItem', $context)) { |
|
| 87 | 87 | return; |
| 88 | 88 | } |
| 89 | 89 | |