@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | return $this->isInstanceOf(MarkdownPost::class) |
95 | 95 | || $this->searchForHiddenInFrontMatter() |
96 | 96 | || in_array($this->routeKey, Config::getArray('hyde.navigation.exclude', ['404'])) |
97 | - || ! $this->isInstanceOf(DocumentationPage::class) && $this->pageIsInSubdirectory() && ($this->getSubdirectoryConfiguration() === 'hidden'); |
|
97 | + || !$this->isInstanceOf(DocumentationPage::class) && $this->pageIsInSubdirectory() && ($this->getSubdirectoryConfiguration() === 'hidden'); |
|
98 | 98 | } |
99 | 99 | |
100 | 100 | protected function makePriority(): int |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | |
196 | 196 | protected function invert(?bool $value): ?bool |
197 | 197 | { |
198 | - return $value === null ? null : ! $value; |
|
198 | + return $value === null ? null : !$value; |
|
199 | 199 | } |
200 | 200 | |
201 | 201 | protected function offset(?int $value, int $offset): ?int |
@@ -51,7 +51,7 @@ |
||
51 | 51 | |
52 | 52 | protected static function validated(mixed $value, string $type, string $key, bool $strict): mixed |
53 | 53 | { |
54 | - if ($strict && ! ("is_$type")($value)) { |
|
54 | + if ($strict && !("is_$type")($value)) { |
|
55 | 55 | throw new TypeError(sprintf('%s(): Config value %s must be of type %s, %s given', __METHOD__, $key, $type, gettype($value))); |
56 | 56 | } |
57 | 57 |