Completed
Push — 1.0 ( cecae8...6ddd86 )
by David
24:40 queued 24:00
created
src/ZohoClient.php 1 patch
Doc Comments   +12 added lines, -13 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      * @param $sortOrderString
145 145
      * @param \DateTime $lastModifiedTime
146 146
      * @param $selectColumns
147
-     * @param $fromIndex
147
+     * @param integer $fromIndex
148 148
      * @param $toIndex
149 149
      *
150 150
      * @return Response The Response object
@@ -210,10 +210,10 @@  discard block
 block discarded – undo
210 210
      * Implements getRecords API method.
211 211
      *
212 212
      * @param $module
213
-     * @param $id
214
-     * @param $parentModule
215
-     * @param null $fromIndex
216
-     * @param null $toIndex
213
+     * @param string $id
214
+     * @param string $parentModule
215
+     * @param integer $fromIndex
216
+     * @param integer $toIndex
217 217
      *
218 218
      * @return Response
219 219
      *
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
      * @param int       $fromIndex
243 243
      * @param int       $toIndex
244 244
      * @param \DateTime $lastModifiedTime
245
-     * @param null      $selectColumns
245
+     * @param string|null      $selectColumns
246 246
      *
247 247
      * @return Response
248 248
      *
@@ -309,6 +309,7 @@  discard block
 block discarded – undo
309 309
      * @param bool $wfTrigger
310 310
      * @param int  $duplicateCheck
311 311
      * @param bool $isApproval
312
+     * @param \SimpleXMLElement $xmlData
312 313
      *
313 314
      * @return Response
314 315
      *
@@ -361,8 +362,8 @@  discard block
 block discarded – undo
361 362
      * Implements uploadFile API method.
362 363
      *
363 364
      * @param $module
364
-     * @param $id
365
-     * @param $content
365
+     * @param string $id
366
+     * @param string $content
366 367
      *
367 368
      * @return Response
368 369
      *
@@ -380,7 +381,7 @@  discard block
 block discarded – undo
380 381
      * Implements downloadFile API method.
381 382
      *
382 383
      * @param $module
383
-     * @param $id
384
+     * @param string $id
384 385
      *
385 386
      * @return Response
386 387
      *
@@ -406,9 +407,7 @@  discard block
 block discarded – undo
406 407
      *
407 408
      * @param string                   $module  The module to use
408 409
      * @param string                   $command Command to call
409
-     * @param array                    $params  Options
410
-     * @param \SimpleXMLElement|string $data    Data to send [optional]
411
-     * @param array                    $options Options to add for configurations [optional]
410
+     * @param array                    $postParams  Options
412 411
      *
413 412
      * @return Response
414 413
      */
@@ -444,7 +443,7 @@  discard block
 block discarded – undo
444 443
     /**
445 444
      * Get the current request uri.
446 445
      *
447
-     * @param  $module The module to use
446
+     * @param  string $module The module to use
448 447
      * @param string $command Command for get uri
449 448
      *
450 449
      * @return string
Please login to merge, or discard this patch.
src/Service/EntitiesGeneratorService.php 1 patch
Doc Comments   +17 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,6 +48,10 @@  discard block
 block discarded – undo
48 48
         }
49 49
     }
50 50
 
51
+    /**
52
+     * @param string $targetDirectory
53
+     * @param string $namespace
54
+     */
51 55
     public function generateModule($moduleName, $modulePlural, $moduleSingular, $targetDirectory, $namespace)
52 56
     {
53 57
         $fields = $this->zohoClient->getFields($moduleName);
@@ -66,6 +70,10 @@  discard block
 block discarded – undo
66 70
         $this->generateDao($fieldRecords, $namespace, $className, $daoClassName, $moduleName, $targetDirectory);
67 71
     }
68 72
 
73
+    /**
74
+     * @param string $namespace
75
+     * @param string $className
76
+     */
69 77
     public function generateBean($fields, $namespace, $className, $moduleName, $targetDirectory)
70 78
     {
71 79
 
@@ -185,7 +193,6 @@  discard block
 block discarded – undo
185 193
      * Returns a unique identifier from the name.
186 194
      *
187 195
      * @param $name
188
-     * @param array $usedNames
189 196
      */
190 197
     private function getUniqueIdentifier($name, array $usedIdentifiers) {
191 198
         $id = self::camelCase($name);
@@ -200,6 +207,11 @@  discard block
 block discarded – undo
200 207
         }
201 208
     }
202 209
 
210
+    /**
211
+     * @param string $namespace
212
+     * @param string $className
213
+     * @param string $daoClassName
214
+     */
203 215
     public function generateDao($fields, $namespace, $className, $daoClassName, $moduleName, $targetDirectory)
204 216
     {
205 217
         //        if (class_exists($namespace."\\".$className)) {
@@ -311,6 +323,10 @@  discard block
 block discarded – undo
311 323
         return $str;
312 324
     }
313 325
 
326
+    /**
327
+     * @param string $description
328
+     * @param string $type
329
+     */
314 330
     private static function registerProperty(PhpClass $class, $name, $description, $type)
315 331
     {
316 332
         if (!$class->hasProperty($name)) {
Please login to merge, or discard this patch.