Skip to content

Commit

Permalink
refactoring everything
Browse files Browse the repository at this point in the history
  • Loading branch information
DaviMenezes committed Jan 1, 2019
1 parent 71bc154 commit 224fa3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Collect/Support/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ function array_wrap($value)
}
}

if (! function_exists('collect')) {
if (! function_exists('collection')) {
/**
* Create a collection from the given value.
*
* @param mixed $value
* @return \Tightenco\Collect\Support\Collection
*/
function collect($value = null)
function collection($value = null)
{
return new Collection($value);
}
Expand Down

0 comments on commit 224fa3a

Please sign in to comment.