@@ -45,7 +45,6 @@ |
||
45 | 45 | /** |
46 | 46 | * @param ZohoDatabaseCopier $zohoDatabaseCopier |
47 | 47 | * @param \Wabel\Zoho\CRM\AbstractZohoDao[] $zohoDaos The list of Zoho DAOs to copy |
48 | - * @param Lock $lock A lock that can be used to avoid running the same command twice at the same time |
|
49 | 48 | */ |
50 | 49 | public function __construct(ZohoDatabaseCopier $zohoDatabaseCopier, ZohoDatabaseSyncZoho $zohoDatabaseSync, array $zohoDaos, Lock $lockCopy = null, Lock $lockSync = null) |
51 | 50 | { |
@@ -102,9 +102,9 @@ |
||
102 | 102 | if (in_array($columnName,['id','uid'])) { |
103 | 103 | continue; |
104 | 104 | }else{ |
105 | - if($columnValue){ |
|
106 | - $zohoBean->{$fieldsMatching[$columnName]['setter']}($columnValue); |
|
107 | - } |
|
105 | + if($columnValue){ |
|
106 | + $zohoBean->{$fieldsMatching[$columnName]['setter']}($columnValue); |
|
107 | + } |
|
108 | 108 | } |
109 | 109 | |
110 | 110 | } |