@@ -34,9 +34,10 @@ |
||
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 |
@@ -21,7 +21,7 @@ |
||
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 | } |