Completed
Pull Request — 1.1 (#3)
by Raphaël
02:53
created
src/ZohoDatabaseCopier.php 2 patches
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.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -246,8 +246,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/ZohoDatabaseSyncZoho.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
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){
Please login to merge, or discard this patch.