Passed
Push — master ( 6e1056...612b24 )
by Caen
03:45 queued 12s
created
packages/framework/src/Services/DiscoveryService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.