@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | */ |
29 | 29 | public static function getSourceFileListForModel(string $model): array|false |
30 | 30 | { |
31 | - if (! class_exists($model) || ! is_subclass_of($model, AbstractPage::class)) { |
|
31 | + if (!class_exists($model) || !is_subclass_of($model, AbstractPage::class)) { |
|
32 | 32 | return false; |
33 | 33 | } |
34 | 34 | |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | |
37 | 37 | $files = []; |
38 | 38 | foreach (glob(Hyde::path($model::qualifyBasename('{*,**/*}')), GLOB_BRACE) as $filepath) { |
39 | - if (! str_starts_with(basename($filepath), '_')) { |
|
39 | + if (!str_starts_with(basename($filepath), '_')) { |
|
40 | 40 | $files[] = static::formatSlugForModel($model, $filepath); |
41 | 41 | } |
42 | 42 | } |