Passed
Push — master ( 6534fd...eb8cff )
by Caen
12:05 queued 13s
created
packages/framework/src/Foundation/PageCollection.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 getPages(?string $pageClass = null): self
36 36
     {
37
-        return ! $pageClass ? $this : $this->filter(function (PageContract $page) use ($pageClass): bool {
37
+        return !$pageClass ? $this : $this->filter(function(PageContract $page) use ($pageClass) : bool {
38 38
             return $page instanceof $pageClass;
39 39
         });
40 40
     }
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 
63 63
     protected function discoverPagesFor(string $pageClass): void
64 64
     {
65
-        $this->parsePagesFor($pageClass)->each(function ($page) {
65
+        $this->parsePagesFor($pageClass)->each(function($page) {
66 66
             $this->discover($page);
67 67
         });
68 68
     }
Please login to merge, or discard this patch.