Completed
Pull Request — 1.1 (#3)
by Raphaël
02:48
created
src/ZohoDatabaseCopier.php 1 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.
src/ZohoDatabaseHelper.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -16,6 +16,7 @@
 block discarded – undo
16 16
      * Computes the name of the table based on the DAO plural module name.
17 17
      *
18 18
      * @param AbstractZohoDao $dao
19
+     * @param string $prefix
19 20
      *
20 21
      * @return string
21 22
      */
Please login to merge, or discard this patch.
src/ZohoCopyDatabaseCommand.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,6 @@
 block discarded – undo
126 126
 
127 127
     /**
128 128
      * Run he sync Db command.
129
-     * @param InputInterface $input
130 129
      * @param OutputInterface $output
131 130
      */
132 131
     private function syncDb(OutputInterface $output){
Please login to merge, or discard this patch.