Completed
Push — work-fleets ( 125b09...7aaf68 )
by SuperNova.WS
06:43
created
includes/classes/Entity.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
       $this->dbId = $row[$this->getIdFieldName()];
99 99
       unset($row[$this->getIdFieldName()]);
100 100
     }
101
-    foreach($row as $fieldName => $fieldValue) {
101
+    foreach ($row as $fieldName => $fieldValue) {
102 102
       $this->$fieldName = $fieldValue;
103 103
     }
104 104
   }
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
   public function getRow($withDbId = true) {
114 114
 //    $row = $this->row;
115 115
     $row = array();
116
-    foreach($this->_container->getProperties() as $fieldName => $cork) {
116
+    foreach ($this->_container->getProperties() as $fieldName => $cork) {
117 117
       $row[$fieldName] = $this->$fieldName;
118 118
     }
119 119
 
Please login to merge, or discard this patch.