Completed
Pull Request — master (#8)
by Timo
04:26
created
src/Helpers/TableRenderer.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -105,8 +105,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.