Passed
Push — master ( e1c92c...019c74 )
by Caen
03:05 queued 13s
created
packages/framework/src/Framework/Services/DiscoveryService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,11 +69,11 @@
 block discarded – undo
69 69
      */
70 70
     public static function getSourceFileListForModel(string $model): array
71 71
     {
72
-        if (! class_exists($model) || ! is_subclass_of($model, HydePage::class)) {
72
+        if (!class_exists($model) || !is_subclass_of($model, HydePage::class)) {
73 73
             throw new UnsupportedPageTypeException($model);
74 74
         }
75 75
 
76
-        return Hyde::files()->getSourceFiles($model)->flatten()->map(function (File $file) use ($model): string {
76
+        return Hyde::files()->getSourceFiles($model)->flatten()->map(function(File $file) use ($model): string {
77 77
             return static::pathToIdentifier($model, $file->withoutDirectoryPrefix());
78 78
         })->toArray();
79 79
     }
Please login to merge, or discard this patch.