Passed
Push — master ( fdce5c...266d2c )
by Caen
11:50
created
packages/framework/src/Services/DiscoveryService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,12 +36,12 @@
 block discarded – undo
36 36
      */
37 37
     public static function getSourceFileListForModel(string $model): array
38 38
     {
39
-        if (! class_exists($model) || ! is_subclass_of($model, AbstractPage::class)) {
39
+        if (!class_exists($model) || !is_subclass_of($model, AbstractPage::class)) {
40 40
             throw new UnsupportedPageTypeException($model);
41 41
         }
42 42
 
43 43
         $files = [];
44
-        Hyde::files()->getSourceFiles($model)->each(function (File $file) use (&$files, $model) {
44
+        Hyde::files()->getSourceFiles($model)->each(function(File $file) use (&$files, $model) {
45 45
             $files[] = self::formatSlugForModel($model, $file->withoutDirectoryPrefix());
46 46
         });
47 47
 
Please login to merge, or discard this patch.
packages/framework/src/helpers.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 use Hyde\Framework\HydeKernel;
4 4
 use Illuminate\Contracts\Support\Arrayable;
5 5
 
6
-if (! function_exists('hyde')) {
6
+if (!function_exists('hyde')) {
7 7
     /**
8 8
      * Get the available HydeKernel instance.
9 9
      *
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     }
16 16
 }
17 17
 
18
-if (! function_exists('unslash')) {
18
+if (!function_exists('unslash')) {
19 19
     /**
20 20
      * Remove trailing slashes from the start and end of a string.
21 21
      *
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     }
29 29
 }
30 30
 
31
-if (! function_exists('array_map_unique')) {
31
+if (!function_exists('array_map_unique')) {
32 32
     /**
33 33
      * Map a callback over an array and remove duplicates.
34 34
      *
Please login to merge, or discard this patch.