@@ -246,8 +246,7 @@ |
||
| 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(); |
@@ -16,6 +16,7 @@ |
||
| 16 | 16 | * Computes the name of the table based on the DAO plural module name. |
| 17 | 17 | * |
| 18 | 18 | * @param AbstractZohoDao $dao |
| 19 | + * @param string $prefix |
|
| 19 | 20 | * |
| 20 | 21 | * @return string |
| 21 | 22 | */ |
@@ -70,7 +70,6 @@ |
||
| 70 | 70 | /** |
| 71 | 71 | * Insert or Update rows. |
| 72 | 72 | * @param AbstractZohoDao $zohoDao |
| 73 | - * @param string $localTable |
|
| 74 | 73 | */ |
| 75 | 74 | public function pushDataToZoho(AbstractZohoDao $zohoDao, $update = false){ |
| 76 | 75 | $localTable = $update ? 'local_update' : 'local_insert'; |
@@ -96,7 +96,7 @@ |
||
| 96 | 96 | /* @var $zohoBean ZohoBeanInterface */ |
| 97 | 97 | if(isset($zohoBeans[$row['uid']])){ |
| 98 | 98 | $zohoBean = $zohoBeans[$row['uid']]; |
| 99 | - }else{ |
|
| 99 | + } else{ |
|
| 100 | 100 | $zohoBean = new $beanClassName(); |
| 101 | 101 | } |
| 102 | 102 | |