|
@@ -90,7 +90,7 @@ discard block |
|
|
block discarded – undo |
|
90
|
90
|
return $this->isInstanceOf(MarkdownPost::class) |
|
91
|
91
|
|| $this->searchForHiddenInFrontMatter() |
|
92
|
92
|
|| in_array($this->routeKey, Config::getArray('hyde.navigation.exclude', ['404'])) |
|
93
|
|
- || (! $this->isInstanceOf(DocumentationPage::class) && $this->pageIsInSubdirectory() && ($this->getSubdirectoryConfiguration() === 'hidden')) |
|
|
93
|
+ || (!$this->isInstanceOf(DocumentationPage::class) && $this->pageIsInSubdirectory() && ($this->getSubdirectoryConfiguration() === 'hidden')) |
|
94
|
94
|
&& (basename($this->identifier) !== 'index'); |
|
95
|
95
|
} |
|
96
|
96
|
|
|
@@ -196,7 +196,7 @@ discard block |
|
|
block discarded – undo |
|
196
|
196
|
|
|
197
|
197
|
protected function invert(?bool $value): ?bool |
|
198
|
198
|
{ |
|
199
|
|
- return $value === null ? null : ! $value; |
|
|
199
|
+ return $value === null ? null : !$value; |
|
200
|
200
|
} |
|
201
|
201
|
|
|
202
|
202
|
protected function offset(?int $value, int $offset): ?int |
Please login to merge, or discard this patch.