Passed
Push — main ( 82ddde...8805e2 )
by Michael
02:00
created
src/Services/Resolver/AbstractMenuResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
 
40 40
         $uri = $this->generator->generate($item->getRouteName(), $item->getRouteParameters() ?: []);
41 41
 
42
-        if ($uri === $this->requestStack->getCurrentRequest()?->getPathInfo()) {
42
+        if ($uri === $this->requestStack->getCurrentRequest() ? ->getPathInfo()) {
43 43
             $item->setCurrent(true);
44 44
             return true;
45 45
         }
Please login to merge, or discard this patch.
src/Items/UrlMenuItem.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
 final class UrlMenuItem extends MenuItem
7 7
 {
8 8
 
9
-    public function __construct(string $label, string $url,  ?string $icon, ?array $options)
9
+    public function __construct(string $label, string $url, ?string $icon, ?array $options)
10 10
     {
11 11
         parent::__construct($label, $icon, $options);
12 12
 
Please login to merge, or discard this patch.