Passed
Push — master ( cca966...4441db )
by Caen
03:07 queued 13s
created
packages/framework/src/Concerns/AbstractPage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
             return property_exists($this, $key) || $this->matter->has($key);
191 191
         }
192 192
 
193
-        return ! blank($this->get($key));
193
+        return !blank($this->get($key));
194 194
     }
195 195
 
196 196
     /**
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
 
280 280
     public function showInNavigation(): bool
281 281
     {
282
-        return ! $this->navigation['hidden'];
282
+        return !$this->navigation['hidden'];
283 283
     }
284 284
 
285 285
     public function navigationMenuPriority(): int
Please login to merge, or discard this patch.
packages/framework/src/Foundation/PageCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     public function getPages(?string $pageClass = null): self
27 27
     {
28
-        return ! $pageClass ? $this : $this->filter(function (AbstractPage $page) use ($pageClass): bool {
28
+        return !$pageClass ? $this : $this->filter(function(AbstractPage $page) use ($pageClass) : bool {
29 29
             return $page instanceof $pageClass;
30 30
         });
31 31
     }
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 
54 54
     protected function discoverPagesFor(string $pageClass): void
55 55
     {
56
-        $this->parsePagesFor($pageClass)->each(function ($page) {
56
+        $this->parsePagesFor($pageClass)->each(function($page) {
57 57
             $this->discover($page);
58 58
         });
59 59
     }
Please login to merge, or discard this patch.
packages/framework/src/Foundation/RouteCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 {
35 35
     public function getRoutes(?string $pageClass = null): self
36 36
     {
37
-        return ! $pageClass ? $this : $this->filter(function (RouteContract $route) use ($pageClass) {
37
+        return !$pageClass ? $this : $this->filter(function(RouteContract $route) use ($pageClass) {
38 38
             return $route->getSourceModel() instanceof $pageClass;
39 39
         });
40 40
     }
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
     protected function runDiscovery(): self
62 62
     {
63
-        $this->kernel->pages()->each(function (AbstractPage $page) {
63
+        $this->kernel->pages()->each(function(AbstractPage $page) {
64 64
             $this->discover($page);
65 65
         });
66 66
 
Please login to merge, or discard this patch.