Skip to content

Commit

Permalink
Fixed array_dotize
Browse files Browse the repository at this point in the history
  • Loading branch information
RoccoHoward committed Jan 24, 2018
1 parent 8022208 commit ac8736b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@


if (! function_exists('array_dotize')) {
function array_dotize($keys)
function array_dotize(...$keys)
{
return explode('.', $keys);
return implode('.', $keys);
}
}

0 comments on commit ac8736b

Please sign in to comment.