Skip to content

Commit

Permalink
revert breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jan 16, 2018
1 parent ddd70dd commit d8a8368
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 @@ -393,7 +393,7 @@ public function every($key, $operator = null, $value = null)
public function except($keys)
{
if ($keys instanceof self) {
$keys = $keys->keys()->all();
$keys = $keys->all();
} elseif (! is_array($keys)) {
$keys = func_get_args();
}
Expand Down

0 comments on commit d8a8368

Please sign in to comment.