@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | |
128 | 128 | private function isNonDocumentationPageInHiddenSubdirectory(): bool |
129 | 129 | { |
130 | - return ! $this->isInstanceOf(DocumentationPage::class) |
|
130 | + return !$this->isInstanceOf(DocumentationPage::class) |
|
131 | 131 | && $this->pageIsInSubdirectory() |
132 | 132 | && $this->getSubdirectoryConfiguration() === 'hidden' |
133 | 133 | && basename($this->identifier) !== 'index'; |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | : $this->routeKey; |
186 | 186 | |
187 | 187 | // Check if the config entry is a flat array or a keyed array. |
188 | - if (! array_key_exists($pageKey, $config)) { |
|
188 | + if (!array_key_exists($pageKey, $config)) { |
|
189 | 189 | // Adding an offset makes so that pages with a front matter priority, or |
190 | 190 | // explicit keyed priority selection that is lower can be shown first. |
191 | 191 | // This is all to make it easier to mix ways of adding priorities. |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | |
234 | 234 | protected function invert(?bool $value): ?bool |
235 | 235 | { |
236 | - return $value === null ? null : ! $value; |
|
236 | + return $value === null ? null : !$value; |
|
237 | 237 | } |
238 | 238 | |
239 | 239 | protected function offset(?int $value, int $offset): ?int |