@@ -105,8 +105,7 @@ discard block |
||
105 | 105 | $html .= '<td>' . |
106 | 106 | $column->format( |
107 | 107 | $column->getRelation() !== null ? |
108 | - $this->_getColumnValueFromRelation($rowModel, $column) : |
|
109 | - $this->_getColumnValue($rowModel, $column) |
|
108 | + $this->_getColumnValueFromRelation($rowModel, $column) : $this->_getColumnValue($rowModel, $column) |
|
110 | 109 | ) . |
111 | 110 | '</td>'; |
112 | 111 | } |
@@ -125,7 +124,7 @@ discard block |
||
125 | 124 | private function _getColumnValue(Model $rowModel, Column $column) : string |
126 | 125 | { |
127 | 126 | $columnName = $column->getName(); |
128 | - if(!property_exists($rowModel, $columnName)) |
|
127 | + if (!property_exists($rowModel, $columnName)) |
|
129 | 128 | { |
130 | 129 | return ''; |
131 | 130 | } |