Passed
Push — master ( a4f47c...3834c8 )
by Caen
03:47 queued 13s
created
packages/framework/src/Framework/Factories/NavigationDataFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
         return $this->isInstanceOf(MarkdownPost::class)
94 94
             || $this->searchForHiddenInFrontMatter()
95 95
             || in_array($this->routeKey, config('hyde.navigation.exclude', ['404']))
96
-            || ! $this->isInstanceOf(DocumentationPage::class) && $this->pageIsInSubdirectory() && ($this->getSubdirectoryConfiguration() === 'hidden');
96
+            || !$this->isInstanceOf(DocumentationPage::class) && $this->pageIsInSubdirectory() && ($this->getSubdirectoryConfiguration() === 'hidden');
97 97
     }
98 98
 
99 99
     protected function makePriority(): int
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
 
195 195
     protected function invert(?bool $value): ?bool
196 196
     {
197
-        return $value === null ? null : ! $value;
197
+        return $value === null ? null : !$value;
198 198
     }
199 199
 
200 200
     protected function offset(?int $value, int $offset): ?int
Please login to merge, or discard this patch.