Passed
Push — master ( 8492cc...15f9ee )
by Caen
05:33 queued 02:01
created
packages/framework/src/Services/CollectionService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.