@@ -37,7 +37,7 @@ |
||
37 | 37 | /** @interitDoc */ |
38 | 38 | public static function make(string $identifier = '', array $matter = [], string $body = ''): static |
39 | 39 | { |
40 | - return tap(new static($identifier, new FrontMatter($matter), new Markdown($body)), function (self $page) { |
|
40 | + return tap(new static($identifier, new FrontMatter($matter), new Markdown($body)), function(self $page) { |
|
41 | 41 | return PageModelConstructor::run($page); |
42 | 42 | }); |
43 | 43 | } |
@@ -44,7 +44,7 @@ |
||
44 | 44 | |
45 | 45 | protected function parseBladePage(): BladePage |
46 | 46 | { |
47 | - return tap(new BladePage($this->slug), function (BladePage $page) { |
|
47 | + return tap(new BladePage($this->slug), function(BladePage $page) { |
|
48 | 48 | $page->matter = FrontMatter::fromArray( |
49 | 49 | $this->parseBladeMatter(file_get_contents($page->getSourcePath())) |
50 | 50 | ); |
@@ -137,7 +137,7 @@ |
||
137 | 137 | $string = trim($string); |
138 | 138 | |
139 | 139 | // Check if string is an array |
140 | - if (! static::isValueArrayString($string)) { |
|
140 | + if (!static::isValueArrayString($string)) { |
|
141 | 141 | throw new \RuntimeException('Failed parsing BladeMatter array. Input string must follow array syntax.'); |
142 | 142 | } |
143 | 143 |
@@ -25,7 +25,7 @@ |
||
25 | 25 | } |
26 | 26 | |
27 | 27 | if ($this instanceof DocumentationPage) { |
28 | - return $this->identifier === 'index' && ! in_array('docs', config('hyde.navigation.exclude', [])); |
|
28 | + return $this->identifier === 'index' && !in_array('docs', config('hyde.navigation.exclude', [])); |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | if ($this instanceof AbstractMarkdownPage) { |