Skip to content

Commit

Permalink
Fix ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
bastien-phi committed Dec 15, 2023
1 parent c53eb64 commit d653327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Collections/Arr.php
Expand Up @@ -115,7 +115,7 @@ public static function dot($array, $prepend = '')
if (is_array($value) && ! empty($value)) {
$results[] = static::dot($value, $prepend.$key.'.');
} else {
$results[0][$prepend.$key] = $value;
$results[][$prepend.$key] = $value;
}
}

Expand Down

0 comments on commit d653327

Please sign in to comment.