Skip to content

Commit 351e3b7

Browse files
committed
use array values
1 parent 8fad785 commit 351e3b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/Illuminate/Queue/SerializesModels.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ public function __sleep()
2424
));
2525
}
2626

27-
return array_filter(array_map(function ($p) {
27+
return array_values(array_filter(array_map(function ($p) {
2828
return $p->isStatic() ? null : $p->getName();
29-
}, $properties));
29+
}, $properties)));
3030
}
3131

3232
/**

0 commit comments

Comments
 (0)