Skip to content

Commit

Permalink
Fixed style
Browse files Browse the repository at this point in the history
  • Loading branch information
Lapayo committed Jan 13, 2018
1 parent 5857ecf commit d8b2eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ public function mapToDictionary(callable $callback)
{
$dictionary = [];

$this->each(function ($item, $key) use(&$dictionary, $callback) {
$this->each(function ($item, $key) use (&$dictionary, $callback) {
$pair = $callback($item, $key);
$key = key($pair);
$value = reset($pair);
Expand Down

0 comments on commit d8b2eb1

Please sign in to comment.