@@ -21,7 +21,7 @@ |
||
| 21 | 21 | |
| 22 | 22 | public function setPivotChanges(string $type, string $relation, array $ids = []) |
| 23 | 23 | { |
| 24 | - collect($ids)->each(function ($attributes, $id) use ($type, $relation) { |
|
| 24 | + collect($ids)->each(function($attributes, $id) use ($type, $relation) { |
|
| 25 | 25 | data_set($this->pivotChanges, "{$type}.{$relation}.{$id}", $attributes); |
| 26 | 26 | }); |
| 27 | 27 | } |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | )->toArray(); |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | - $idsWithAttributes = collect($ids)->mapWithKeys(function ($id) { |
|
| 58 | + $idsWithAttributes = collect($ids)->mapWithKeys(function($id) { |
|
| 59 | 59 | return [$id => []]; |
| 60 | 60 | })->all(); |
| 61 | 61 | |