@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | throw new BadMethodCallException('Cannot register a page class after the Kernel has been booted.'); |
84 | 84 | } |
85 | 85 | |
86 | - if (! is_subclass_of($pageClass, HydePage::class)) { |
|
86 | + if (!is_subclass_of($pageClass, HydePage::class)) { |
|
87 | 87 | throw new InvalidArgumentException('The specified class must be a subclass of HydePage.'); |
88 | 88 | } |
89 | 89 | |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | throw new InvalidArgumentException('The specified class must not be a subclass of DynamicPage.'); |
92 | 92 | } |
93 | 93 | |
94 | - if (! in_array($pageClass, $this->pageClasses, true)) { |
|
94 | + if (!in_array($pageClass, $this->pageClasses, true)) { |
|
95 | 95 | $this->pageClasses[] = $pageClass; |
96 | 96 | } |
97 | 97 | } |