Passed
Push — master ( c70df2...3b77f2 )
by Caen
03:41 queued 11s
created
packages/framework/src/helpers.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 use Hyde\Framework\HydeKernel;
5 5
 use Illuminate\Support\Collection;
6 6
 
7
-if (! function_exists('hyde')) {
7
+if (!function_exists('hyde')) {
8 8
     /**
9 9
      * Get the available HydeKernel instance.
10 10
      *
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
     }
17 17
 }
18 18
 
19
-if (! function_exists('unslash')) {
19
+if (!function_exists('unslash')) {
20 20
     /**
21 21
      * Remove trailing slashes from the start and end of a string.
22 22
      *
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     }
30 30
 }
31 31
 
32
-if (! function_exists('array_map_unique')) {
32
+if (!function_exists('array_map_unique')) {
33 33
     /**
34 34
      * Map a callback over an array and remove duplicates.
35 35
      *
Please login to merge, or discard this patch.
packages/framework/src/HydeKernel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -232,11 +232,11 @@
 block discarded – undo
232 232
      */
233 233
     public function copy(string $from, string $to, bool $force = false): bool|int
234 234
     {
235
-        if (! file_exists($from)) {
235
+        if (!file_exists($from)) {
236 236
             return 404;
237 237
         }
238 238
 
239
-        if (file_exists($to) && ! $force) {
239
+        if (file_exists($to) && !$force) {
240 240
             return 409;
241 241
         }
242 242
 
Please login to merge, or discard this patch.