Passed
Push — master ( 58d191...b9dd51 )
by Caen
03:23 queued 14s
created
packages/framework/src/Pages/Concerns/HydePage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      */
119 119
     public static function files(): array
120 120
     {
121
-        return Files::getFiles(static::class)->map(function (SourceFile $file): string {
121
+        return Files::getFiles(static::class)->map(function(SourceFile $file): string {
122 122
             return static::pathToIdentifier($file->getPath());
123 123
         })->values()->toArray();
124 124
     }
@@ -338,7 +338,7 @@  discard block
 block discarded – undo
338 338
 
339 339
     public function showInNavigation(): bool
340 340
     {
341
-        return ! $this->navigation['hidden'];
341
+        return !$this->navigation['hidden'];
342 342
     }
343 343
 
344 344
     public function navigationMenuPriority(): int
Please login to merge, or discard this patch.
packages/framework/src/Foundation/Kernel/PageCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     protected function runDiscovery(): void
34 34
     {
35
-        $this->kernel->files()->each(function (SourceFile $file): void {
35
+        $this->kernel->files()->each(function(SourceFile $file): void {
36 36
             $this->addPage($file->model::parse(
37 37
                 $file->model::pathToIdentifier($file->getPath())
38 38
             ));
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      */
59 59
     public function getPages(?string $pageClass = null): PageCollection
60 60
     {
61
-        return $pageClass ? $this->filter(function (HydePage $page) use ($pageClass): bool {
61
+        return $pageClass ? $this->filter(function(HydePage $page) use ($pageClass) : bool {
62 62
             return $page instanceof $pageClass;
63 63
         }) : $this;
64 64
     }
Please login to merge, or discard this patch.