@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | { |
| 112 | 112 | $keyConditions = $this->keyConditions() ?: []; |
| 113 | 113 | |
| 114 | - return array_filter($this->conditions, function ($condition) use ($keyConditions) { |
|
| 114 | + return array_filter($this->conditions, function($condition) use ($keyConditions) { |
|
| 115 | 115 | return array_search($condition, $keyConditions) === false; |
| 116 | 116 | }); |
| 117 | 117 | } |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | */ |
| 154 | 154 | private function getCondition($column) |
| 155 | 155 | { |
| 156 | - return H::array_first($this->conditions, function ($condition) use ($column) { |
|
| 156 | + return H::array_first($this->conditions, function($condition) use ($column) { |
|
| 157 | 157 | return $condition['column'] === $column; |
| 158 | 158 | }); |
| 159 | 159 | } |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | */ |
| 166 | 166 | private function getConditions($columns) |
| 167 | 167 | { |
| 168 | - return array_filter($this->conditions, function ($condition) use ($columns) { |
|
| 168 | + return array_filter($this->conditions, function($condition) use ($columns) { |
|
| 169 | 169 | return in_array($condition['column'], $columns); |
| 170 | 170 | }); |
| 171 | 171 | } |
@@ -212,7 +212,7 @@ discard block |
||
| 212 | 212 | |
| 213 | 213 | if ($validQueryOp && $range) { |
| 214 | 214 | $rangeConditionType = null; |
| 215 | - if($this->getCondition($range)) { |
|
| 215 | + if ($this->getCondition($range)) { |
|
| 216 | 216 | $rangeConditionType = $this->getCondition($range)['type'] ?? null; |
| 217 | 217 | } |
| 218 | 218 | $validQueryOp = ComparisonOperator::isValidQueryDynamoDbOperator( |