Completed
Pull Request — 1.1 (#3)
by Raphaël
02:29
created
src/ZohoDatabaseSyncZoho.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,6 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -46,10 +46,10 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
                     }
Please login to merge, or discard this patch.