@@ -125,7 +125,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | |