@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | if ($this instanceof DocumentationPage) { |
| 29 | - return $this->identifier === 'index' && ! in_array('docs', config('hyde.navigation.exclude', [])); |
|
| 29 | + return $this->identifier === 'index' && !in_array('docs', config('hyde.navigation.exclude', [])); |
|
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | if ($this instanceof AbstractMarkdownPage) { |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | return config('hyde.navigation.labels.home', 'Home'); |
| 100 | 100 | } |
| 101 | 101 | |
| 102 | - if (isset($this->title) && ! blank($this->title)) { |
|
| 102 | + if (isset($this->title) && !blank($this->title)) { |
|
| 103 | 103 | return $this->title; |
| 104 | 104 | } |
| 105 | 105 | |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | { |
| 50 | 50 | /** @var DocumentationPage $page */ |
| 51 | 51 | foreach (DocumentationPage::all() as $page) { |
| 52 | - if (! in_array($page->identifier, config('docs.exclude_from_search', []))) { |
|
| 52 | + if (!in_array($page->identifier, config('docs.exclude_from_search', []))) { |
|
| 53 | 53 | $this->searchIndex->push( |
| 54 | 54 | $this->generatePageObject($page) |
| 55 | 55 | ); |