@@ -7,8 +7,6 @@ |
||
7 | 7 | use Psr\Log\NullLogger; |
8 | 8 | use Wabel\Zoho\CRM\AbstractZohoDao; |
9 | 9 | use Wabel\Zoho\CRM\ZohoBeanInterface; |
10 | -use Wabel\Zoho\CRM\Exception\ZohoCRMException; |
|
11 | -use Wabel\Zoho\CRM\Exception\ZohoCRMResponseException; |
|
12 | 10 | use function Stringy\create as s; |
13 | 11 | |
14 | 12 | /** |
@@ -46,10 +46,10 @@ discard block |
||
46 | 46 | } |
47 | 47 | |
48 | 48 | /** |
49 | - * |
|
50 | - * @param AbstractZohoDao $zohoDao |
|
51 | - * @return array |
|
52 | - */ |
|
49 | + * |
|
50 | + * @param AbstractZohoDao $zohoDao |
|
51 | + * @return array |
|
52 | + */ |
|
53 | 53 | private function findMethodValues(AbstractZohoDao $zohoDao){ |
54 | 54 | $fieldsMatching = array(); |
55 | 55 | foreach ($zohoDao->getFields() as $fieldsDescriptor) { |
@@ -96,9 +96,9 @@ discard block |
||
96 | 96 | if (in_array($columnName,['id','uid'])) { |
97 | 97 | continue; |
98 | 98 | }else{ |
99 | - if($columnValue){ |
|
100 | - $zohoBean->{$fieldsMatching[$columnName]['setter']}($columnValue); |
|
101 | - } |
|
99 | + if($columnValue){ |
|
100 | + $zohoBean->{$fieldsMatching[$columnName]['setter']}($columnValue); |
|
101 | + } |
|
102 | 102 | } |
103 | 103 | |
104 | 104 | } |