Completed
Pull Request — 1.1 (#3)
by Raphaël
02:37
created
src/ZohoDatabaseCopier.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\DBAL\Connection;
6 6
 use Doctrine\DBAL\Schema\Schema;
7
-use Doctrine\DBAL\Schema\SchemaDiff;
8 7
 use Psr\Log\LoggerInterface;
9 8
 use Psr\Log\NullLogger;
10 9
 use Wabel\Zoho\CRM\AbstractZohoDao;
Please login to merge, or discard this patch.
src/ZohoDatabaseSyncZoho.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -106,9 +106,9 @@
 block discarded – undo
106 106
                     foreach ($row as $columnName => $columnValue) {
107 107
                         if (!in_array($columnName,['id','uid']) || isset($fieldsMatching[$columnName])) {
108 108
                             $value = $this->formatValueToBeans($zohoDao->getModule(), $fieldsMatching, $columnName, $columnValue, null, $row['uid']);
109
-                           if($columnValue){
110
-                               $zohoBean->{$fieldsMatching[$columnName]['setter']}($value);
111
-                           }
109
+                            if($columnValue){
110
+                                $zohoBean->{$fieldsMatching[$columnName]['setter']}($value);
111
+                            }
112 112
                         }
113 113
                     }
114 114
                     $zohoBeans[$row['uid']] =  $zohoBean;
Please login to merge, or discard this patch.