Completed
Pull Request — 1.1 (#3)
by Raphaël
02:53
created
src/ZohoDatabaseCopier.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -246,8 +246,7 @@
 block discarded – undo
246 246
             foreach ($table->getColumns() as $column) {
247 247
                 if (in_array($column->getName(),['id','uid'])) {
248 248
                     continue;
249
-                }
250
-                else {
249
+                } else {
251 250
                     $field = $fieldsByName[$column->getName()];
252 251
                     $getterName = $field['getter'];
253 252
                     $data[$column->getName()] = $record->$getterName();
Please login to merge, or discard this patch.
src/ZohoDatabaseSyncZoho.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
                 /* @var $zohoBean ZohoBeanInterface */
100 100
                 if(isset($zohoBeans[$row['uid']])){
101 101
                     $zohoBean = $zohoBeans[$row['uid']];
102
-                }else{
102
+                } else{
103 103
                     $zohoBean = new $beanClassName();
104 104
                 }
105 105
                 if(!$update){
Please login to merge, or discard this patch.