@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | } |
97 | 97 | |
98 | 98 | if (is_array($made)) { |
99 | - return array_map(function (Model $model) { |
|
99 | + return array_map(function(Model $model) { |
|
100 | 100 | $model->save(); |
101 | 101 | |
102 | 102 | return $model; |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | */ |
155 | 155 | protected function callClosureAttributes(array $attributes) |
156 | 156 | { |
157 | - return array_map(function ($attribute) use ($attributes) { |
|
157 | + return array_map(function($attribute) use ($attributes) { |
|
158 | 158 | if ($attribute instanceof \Closure) { |
159 | 159 | return $attribute($attributes); |
160 | 160 | } |