Completed
Pull Request — 3.1 (#43)
by
unknown
01:30
created
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/ZohoDatabasePusher.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -202,7 +202,6 @@
 block discarded – undo
202 202
      * Insert data to bean in order to update zoho records.
203 203
      *
204 204
      * @param ZohoBeanInterface $zohoBean
205
-     * @param array             $fieldsMatching
206 205
      * @param type              $columnName
207 206
      * @param type              $valueDb
208 207
      */
Please login to merge, or discard this patch.
src/ZohoSyncDatabaseCommand.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,6 @@
 block discarded – undo
190 190
     /**
191 191
      * Regerate Zoho Daos
192 192
      *
193
-     * @param InputInterface  $input
194 193
      * @param OutputInterface $output
195 194
      */
196 195
     private function regenerateZohoDao(OutputInterface $output)
Please login to merge, or discard this patch.
src/ZohoDatabaseCopier.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -95,18 +95,15 @@
 block discarded – undo
95 95
                         && array_key_exists('id', $user->{$fieldMethod}())
96 96
                     ) {
97 97
                         $data[$column->getName()] = $user->{$fieldMethod}()['name'];
98
-                    }
99
-                    elseif (method_exists($user, $fieldMethod)
98
+                    } elseif (method_exists($user, $fieldMethod)
100 99
                         && is_object($user->{$fieldMethod}()) && method_exists($user->{$fieldMethod}(), 'getName')
101 100
                     ) {
102 101
                         $object = $user->{$fieldMethod}();
103 102
                         $data[$column->getName()] = $object->getName();
104
-                    }
105
-                    elseif($column->getName() === 'Currency') {
103
+                    } elseif($column->getName() === 'Currency') {
106 104
                         //Todo: Do a pull request about \ZCRMUser::geCurrency() to \ZCRMUser::getCurrency()
107 105
                         $data[$column->getName()] = $user->geCurrency();
108
-                    }
109
-                    else {
106
+                    } else {
110 107
                         continue;
111 108
                     }
112 109
                 }
Please login to merge, or discard this patch.