Passed
Push — master ( aadbf6...2ee406 )
by Caen
03:41 queued 12s
created
packages/framework/src/Pages/Concerns/HydePage.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      */
126 126
     public static function files(): array
127 127
     {
128
-        return Files::getFiles(static::class)->map(function (SourceFile $file): string {
128
+        return Files::getFiles(static::class)->map(function(SourceFile $file): string {
129 129
             return static::pathToIdentifier($file->getPath());
130 130
         })->values()->toArray();
131 131
     }
@@ -361,7 +361,7 @@  discard block
 block discarded – undo
361 361
 
362 362
     public function showInNavigation(): bool
363 363
     {
364
-        return ! $this->navigation->hidden;
364
+        return !$this->navigation->hidden;
365 365
     }
366 366
 
367 367
     public function navigationMenuPriority(): int
@@ -381,11 +381,11 @@  discard block
 block discarded – undo
381 381
 
382 382
     public function getCanonicalUrl(): ?string
383 383
     {
384
-        if (! empty($this->matter('canonicalUrl'))) {
384
+        if (!empty($this->matter('canonicalUrl'))) {
385 385
             return $this->matter('canonicalUrl');
386 386
         }
387 387
 
388
-        if (Hyde::hasSiteUrl() && ! empty($this->identifier)) {
388
+        if (Hyde::hasSiteUrl() && !empty($this->identifier)) {
389 389
             return Hyde::url($this->getOutputPath());
390 390
         }
391 391
 
Please login to merge, or discard this patch.