|
@@ -125,7 +125,7 @@ discard block |
|
|
block discarded – undo |
|
125
|
125
|
|
|
126
|
126
|
private function isNonDocumentationPageInHiddenSubdirectory(): bool |
|
127
|
127
|
{ |
|
128
|
|
- return ! $this->isInstanceOf(DocumentationPage::class) |
|
|
128
|
+ return !$this->isInstanceOf(DocumentationPage::class) |
|
129
|
129
|
&& $this->pageIsInSubdirectory() |
|
130
|
130
|
&& $this->getSubdirectoryConfiguration() === 'hidden' |
|
131
|
131
|
&& basename($this->identifier) !== 'index'; |
|
@@ -208,7 +208,7 @@ discard block |
|
|
block discarded – undo |
|
208
|
208
|
|
|
209
|
209
|
protected function invert(?bool $value): ?bool |
|
210
|
210
|
{ |
|
211
|
|
- return $value === null ? null : ! $value; |
|
|
211
|
+ return $value === null ? null : !$value; |
|
212
|
212
|
} |
|
213
|
213
|
|
|
214
|
214
|
protected function offset(?int $value, int $offset): ?int |
Please login to merge, or discard this patch.