Skip to content

Commit

Permalink
fix for 5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
TomK committed Jun 14, 2021
1 parent 7da54c0 commit ea36f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ValueAs.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public static function arr($value, $default = [])
$array = [];
foreach(explode('&', $value) as $pair)
{
[$key, $val] = explode('=', $pair);
list($key, $val) = explode('=', $pair);
$array[$key] = $val;
}
return $array;
Expand Down

0 comments on commit ea36f5f

Please sign in to comment.