@@ -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(); |
@@ -99,7 +99,7 @@ |
||
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){ |
@@ -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 | */ |
@@ -126,7 +126,6 @@ |
||
126 | 126 | |
127 | 127 | /** |
128 | 128 | * Run he sync Db command. |
129 | - * @param InputInterface $input |
|
130 | 129 | * @param OutputInterface $output |
131 | 130 | */ |
132 | 131 | private function syncDb(OutputInterface $output){ |