@@ -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 | } |
@@ -846,7 +846,7 @@ discard block |
||
846 | 846 | $keys = collect($this->model->getKeyNames()); |
847 | 847 | |
848 | 848 | // could be ['id' => 'foo'], ['id1' => 'foo', 'id2' => 'bar'] |
849 | - $single = $keys->first(function ($name) use ($id) { |
|
849 | + $single = $keys->first(function($name) use ($id) { |
|
850 | 850 | return !isset($id[$name]); |
851 | 851 | }) === null; |
852 | 852 | |
@@ -958,7 +958,7 @@ discard block |
||
958 | 958 | continue; |
959 | 959 | } |
960 | 960 | |
961 | - $builder->callScope(function (DynamoDbQueryBuilder $builder) use ($scope) { |
|
961 | + $builder->callScope(function(DynamoDbQueryBuilder $builder) use ($scope) { |
|
962 | 962 | // If the scope is a Closure we will just go ahead and call the scope with the |
963 | 963 | // builder instance. The "callScope" method will properly group the clauses |
964 | 964 | // that are added to this query so "where" clauses maintain proper logic. |