Passed
Branch code-quality (01d554)
by Caen
02:52
created
packages/framework/src/Actions/Constructors/FindsNavigationDataForPage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     {
28 28
         return [
29 29
             'title' => $this->getNavigationMenuTitle(),
30
-            'hidden' => ! $this->getNavigationMenuVisible(),
30
+            'hidden' => !$this->getNavigationMenuVisible(),
31 31
             'priority' => $this->getNavigationMenuPriority(),
32 32
         ];
33 33
     }
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         }
61 61
 
62 62
         if ($this->page instanceof DocumentationPage) {
63
-            return $this->page->identifier === 'index' && ! in_array($this->page->routeKey, config('hyde.navigation.exclude', []));
63
+            return $this->page->identifier === 'index' && !in_array($this->page->routeKey, config('hyde.navigation.exclude', []));
64 64
         }
65 65
 
66 66
         if ($this->page->matter('navigation.hidden', false)) {
Please login to merge, or discard this patch.