@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | { |
| 26 | 26 | return [ |
| 27 | 27 | 'title' => $this->getNavigationMenuTitle(), |
| 28 | - 'hidden' => ! $this->getNavigationMenuVisible(), |
|
| 28 | + 'hidden' => !$this->getNavigationMenuVisible(), |
|
| 29 | 29 | 'priority' => $this->getNavigationMenuPriority(), |
| 30 | 30 | ]; |
| 31 | 31 | } |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | if ($this->page instanceof DocumentationPage) { |
| 61 | - return $this->page->identifier === 'index' && ! in_array($this->page->routeKey, config('hyde.navigation.exclude', [])); |
|
| 61 | + return $this->page->identifier === 'index' && !in_array($this->page->routeKey, config('hyde.navigation.exclude', [])); |
|
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | if ($this->page instanceof AbstractMarkdownPage) { |