@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | */ |
57 | 57 | public static function getSourceFileListForModel(string $model): array |
58 | 58 | { |
59 | - if (! class_exists($model) || ! is_subclass_of($model, AbstractPage::class)) { |
|
59 | + if (!class_exists($model) || !is_subclass_of($model, AbstractPage::class)) { |
|
60 | 60 | throw new UnsupportedPageTypeException($model); |
61 | 61 | } |
62 | 62 | |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | |
65 | 65 | $files = []; |
66 | 66 | foreach (glob(Hyde::path($model::qualifyBasename('{*,**/*}')), GLOB_BRACE) as $filepath) { |
67 | - if (! str_starts_with(basename($filepath), '_')) { |
|
67 | + if (!str_starts_with(basename($filepath), '_')) { |
|
68 | 68 | $files[] = self::formatSlugForModel($model, $filepath); |
69 | 69 | } |
70 | 70 | } |