Passed
Push — main ( 7a068b...7d69bc )
by Michael
02:22
created
src/Services/Resolver/AbstractMenuResolver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
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.