@@ -15,7 +15,7 @@ |
||
| 15 | 15 | public function __construct(array $config) |
| 16 | 16 | { |
| 17 | 17 | if (!empty($config['cssClass'])) { |
| 18 | - $config['cssClass'] .= ' '.$this->cssClass; |
|
| 18 | + $config['cssClass'] .= ' ' . $this->cssClass; |
|
| 19 | 19 | } |
| 20 | 20 | $this->loadConfig($config); |
| 21 | 21 | } |
@@ -162,8 +162,8 @@ |
||
| 162 | 162 | public function renderValue($row) |
| 163 | 163 | { |
| 164 | 164 | // QueryBuilder returns objects instead of arrays |
| 165 | - if (!is_array($row)){ |
|
| 166 | - $row = (array)$row; |
|
| 165 | + if (!is_array($row)) { |
|
| 166 | + $row = (array) $row; |
|
| 167 | 167 | } |
| 168 | 168 | $value = $this->_renderValue($row); |
| 169 | 169 | |