Skip to content
This repository was archived by the owner on Mar 12, 2024. It is now read-only.

Commit 8825650

Browse files
committed
remove unpacking
1 parent 5d0786d commit 8825650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/WithModelMapping.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function mapModelAttributes(?Model $model = null): void
2525
: [];
2626

2727
collect($model->getAttributes())
28-
->except(...$ignores)
28+
->except($ignores)
2929
->each(function ($value, $property) use ($model) {
3030
if (property_exists($this, $property)) {
3131
rescue(

0 commit comments

Comments
 (0)