@@ -19,7 +19,7 @@ |
||
19 | 19 | $type = !empty($colInfo['colParams']['type']) ? $colInfo['colParams']['type'] : 'string'; |
20 | 20 | if ($type != 'dataManager') { |
21 | 21 | $table->addRow([ |
22 | - str_replace(' ',' ',!empty($modelName::$labels[$colName]) ? $modelName::$labels[$colName] : $colName), |
|
22 | + str_replace(' ', ' ', !empty($modelName::$labels[$colName]) ? $modelName::$labels[$colName] : $colName), |
|
23 | 23 | \Model::resloveTypeValue($item, $colName, true) |
24 | 24 | ]); |
25 | 25 | } |
@@ -138,7 +138,7 @@ |
||
138 | 138 | * @return string |
139 | 139 | */ |
140 | 140 | public static function getColValue($object, $valuePath, $convert = false, $manageHref = false) { |
141 | - if(is_array($object)){ |
|
141 | + if (is_array($object)) { |
|
142 | 142 | $object = array_shift($object); |
143 | 143 | } |
144 | 144 | if (strpos($valuePath, ':')) { |