Completed
Branch master (4f96cc)
by Mathias
15:04
created
src/Path.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -100,12 +100,12 @@  discard block
 block discarded – undo
100 100
     public static function invalidPathChars(): array
101 101
     {
102 102
         return Collection::from(self::INVALID_PATH_ASCII)
103
-                         ->map(
104
-                             function (string $ascii) {
105
-                                 return chr($ascii);
106
-                             }
107
-                         )
108
-                         ->toArray();
103
+                            ->map(
104
+                                function (string $ascii) {
105
+                                    return chr($ascii);
106
+                                }
107
+                            )
108
+                            ->toArray();
109 109
     }
110 110
 
111 111
     /**
@@ -158,10 +158,10 @@  discard block
 block discarded – undo
158 158
     private static function hasIllegalCharacter(string $path): bool
159 159
     {
160 160
         return Collection::from(self::INVALID_PATH_ASCII)
161
-                         ->some(
162
-                             function (string $ascii) use ($path): bool {
163
-                                 return strpos($path, chr($ascii));
164
-                             }
165
-                         );
161
+                            ->some(
162
+                                function (string $ascii) use ($path): bool {
163
+                                    return strpos($path, chr($ascii));
164
+                                }
165
+                            );
166 166
     }
167 167
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
     {
102 102
         return Collection::from(self::INVALID_PATH_ASCII)
103 103
                          ->map(
104
-                             function (string $ascii) {
104
+                             function(string $ascii) {
105 105
                                  return chr($ascii);
106 106
                              }
107 107
                          )
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     {
160 160
         return Collection::from(self::INVALID_PATH_ASCII)
161 161
                          ->some(
162
-                             function (string $ascii) use ($path): bool {
162
+                             function(string $ascii) use ($path): bool {
163 163
                                  return strpos($path, chr($ascii));
164 164
                              }
165 165
                          );
Please login to merge, or discard this patch.