Passed
Push — main ( 132003...5dcd0c )
by Michael
12:45
created
src/Items/MenuItemTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
ecs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
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',
Please login to merge, or discard this patch.
src/Services/Resolver/AbstractMenuResolver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.