Skip to content

Commit c08894a

Browse files
committed
fix: phpstan
1 parent 7f4b109 commit c08894a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Support/Arr.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,6 @@ public static function undot(array $array, string $saveKey = null): array
131131
*/
132132
public static function apply(array &$array, string $path, mixed $value, string $saveKey = null): mixed
133133
{
134-
if (is_null($path)) {
135-
return $array = $value;
136-
}
137-
138134
$keys = explode('.', $path);
139135

140136
$keysCount = count($keys);

0 commit comments

Comments
 (0)