@@ -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 | } |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | */ |
100 | 100 | private function _getValue(Model $rowModel) : string |
101 | 101 | { |
102 | - if(!property_exists($rowModel, $this->_name)) |
|
102 | + if (!property_exists($rowModel, $this->_name)) |
|
103 | 103 | { |
104 | 104 | return ''; |
105 | 105 | } |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | */ |
116 | 116 | public function getValue(Model $rowModel) : string |
117 | 117 | { |
118 | - if($this->_relation !== null) |
|
118 | + if ($this->_relation !== null) |
|
119 | 119 | { |
120 | 120 | return $this->_getValueFromRelation($rowModel); |
121 | 121 | } |