Passed
Branch main (109ef1)
by Michael
11:23
created
src/Events/MenuEvent.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,9 +34,10 @@
 block discarded – undo
34 34
      */
35 35
     private function append_iterators(...$iterators): iterable
36 36
     {
37
-        foreach ($iterators as $iterator)
38
-            foreach ($iterator as $row)
37
+        foreach ($iterators as $iterator) {
38
+                    foreach ($iterator as $row)
39 39
                 yield ($row);
40
+        }
40 41
     }
41 42
 
42 43
 }
43 44
\ No newline at end of file
Please login to merge, or discard this patch.
src/Factory/MenuItem.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
         return new SectionMenuItem($label, $routeName, $routeParameters, $icon);
22 22
     }
23 23
 
24
-   public static function system(string $label, string $routeName, array $routeParameters = [], ?string $icon = null): SystemMenuItem
24
+    public static function system(string $label, string $routeName, array $routeParameters = [], ?string $icon = null): SystemMenuItem
25 25
     {
26 26
         return new SystemMenuItem($label, $routeName, $routeParameters, $icon);
27 27
     }
Please login to merge, or discard this patch.