Passed
Push — master ( 25f224...9df712 )
by Eric
02:28 queued 17s
created
src/Environment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -244,7 +244,7 @@
 block discarded – undo
244 244
         $ips = array_filter($ips, static fn (string $string): bool => Strings::length($string) > 0);
245 245
 
246 246
         // Traverses the $ips array. Set $ip to current value if it's a public IP.
247
-        array_walk($ips, static function (string $value, int $key) use (&$ip): string {
247
+        array_walk($ips, static function(string $value, int $key) use (&$ip): string {
248 248
             if (Environment::isPublicIp($value)) {
249 249
                 $ip = $value;
250 250
             }
Please login to merge, or discard this patch.
src/Filesystem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -236,7 +236,7 @@
 block discarded – undo
236 236
             static fn (string $string, bool $binarySafe = false): bool => Strings::length($string, $binarySafe) > 0
237 237
         );
238 238
 
239
-        $filtered = array_reduce($filtered, static function (array $tmp, string $item): array {
239
+        $filtered = array_reduce($filtered, static function(array $tmp, string $item): array {
240 240
             if ($item === '..') {
241 241
                 array_pop($tmp);
242 242
             } elseif ($item !== '.') {
Please login to merge, or discard this patch.
src/Arrays.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
      *
107 107
      * @throws RuntimeException If $array is not accessible
108 108
      */
109
-    public static function set(array | ArrayAccess &$array, string | int | null $key, mixed $value): void
109
+    public static function set(array | ArrayAccess & $array, string | int | null $key, mixed $value): void
110 110
     {
111 111
         if ($key === null) {
112 112
             $array = $value; // @phpstan-ignore-line
Please login to merge, or discard this patch.