@@ -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(); |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Wabel\Zoho\CRM\AbstractZohoDao; |
9 | 9 | use Wabel\Zoho\CRM\ZohoBeanInterface; |
10 | 10 | use Wabel\Zoho\CRM\Exception\ZohoCRMException; |
11 | -use Wabel\Zoho\CRM\Exception\ZohoCRMResponseException; |
|
12 | 11 | use function Stringy\create as s; |
13 | 12 | |
14 | 13 | /** |
@@ -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){ |