|
@@ -125,7 +125,7 @@ |
|
|
block discarded – undo |
|
125
|
125
|
|
|
126
|
126
|
protected function validateType(string $pageClass): void |
|
127
|
127
|
{ |
|
128
|
|
- if (! in_array($pageClass, [MarkdownPage::class, BladePage::class, DocumentationPage::class])) { |
|
|
128
|
+ if (!in_array($pageClass, [MarkdownPage::class, BladePage::class, DocumentationPage::class])) { |
|
129
|
129
|
throw new UnsupportedPageTypeException('The page type must be either "markdown", "blade", or "documentation"'); |
|
130
|
130
|
} |
|
131
|
131
|
} |
Please login to merge, or discard this patch.