Skip to content

Commit

Permalink
use array values
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jan 23, 2018
1 parent 8fad785 commit 351e3b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Queue/SerializesModels.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ public function __sleep()
));
}

return array_filter(array_map(function ($p) {
return array_values(array_filter(array_map(function ($p) {
return $p->isStatic() ? null : $p->getName();
}, $properties));
}, $properties)));
}

/**
Expand Down

0 comments on commit 351e3b7

Please sign in to comment.