@@ -500,7 +500,7 @@ discard block |
||
500 | 500 | |
501 | 501 | $table = $this->model->getTable(); |
502 | 502 | |
503 | - $keys = collect($ids)->map(function ($id) { |
|
503 | + $keys = collect($ids)->map(function($id) { |
|
504 | 504 | if (!is_array($id)) { |
505 | 505 | $id = [$this->model->getKeyName() => $id]; |
506 | 506 | } |
@@ -542,7 +542,7 @@ discard block |
||
542 | 542 | return $result; |
543 | 543 | } |
544 | 544 | |
545 | - $model = $this->model->newInstance($attributes); |
|
545 | + $model = $this->model->newInstance($attributes); |
|
546 | 546 | $model->setId($id); |
547 | 547 | |
548 | 548 | return $model; |
@@ -848,7 +848,7 @@ discard block |
||
848 | 848 | $keys = collect($this->model->getKeyNames()); |
849 | 849 | |
850 | 850 | // could be ['id' => 'foo'], ['id1' => 'foo', 'id2' => 'bar'] |
851 | - $single = $keys->first(function ($name) use ($id) { |
|
851 | + $single = $keys->first(function($name) use ($id) { |
|
852 | 852 | return !isset($id[$name]); |
853 | 853 | }) === null; |
854 | 854 | |
@@ -960,7 +960,7 @@ discard block |
||
960 | 960 | continue; |
961 | 961 | } |
962 | 962 | |
963 | - $builder->callScope(function (DynamoDbQueryBuilder $builder) use ($scope) { |
|
963 | + $builder->callScope(function(DynamoDbQueryBuilder $builder) use ($scope) { |
|
964 | 964 | // If the scope is a Closure we will just go ahead and call the scope with the |
965 | 965 | // builder instance. The "callScope" method will properly group the clauses |
966 | 966 | // that are added to this query so "where" clauses maintain proper logic. |