@@ -192,11 +192,11 @@ |
||
192 | 192 | */ |
193 | 193 | protected function cleanAttributesOverRide($attributes) |
194 | 194 | { |
195 | - if (sizeof($this->overRide) > 0 && sizeof($attributes) >0) { |
|
195 | + if (sizeof($this->overRide) > 0 && sizeof($attributes) > 0) { |
|
196 | 196 | foreach ($this->overRide as $field => $queryParams) { |
197 | 197 | $newOverRideValues = $this->getNewOverRideValues($attributes[$field], $queryParams); |
198 | 198 | |
199 | - if (count($newOverRideValues) >1) { |
|
199 | + if (count($newOverRideValues) > 1) { |
|
200 | 200 | $attributes[$field] = $this->getCommaString($newOverRideValues, $queryParams['return_field']); |
201 | 201 | } elseif (count($newOverRideValues) == 1) { |
202 | 202 | $attributes[$field] = $newOverRideValues[0][$queryParams['return_field']]; |