Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Nov 16, 2017
1 parent f479d9a commit f7581cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Illuminate/Support/Arr.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ public static function last($array, callable $callback = null, $default = null)
public static function flatten($array, $depth = INF)
{
$result = [];

foreach ($array as $item) {
$item = $item instanceof Collection ? $item->all() : $item;

Expand Down

0 comments on commit f7581cd

Please sign in to comment.