Completed
Push — 1.2 ( 52818d...320c8c )
by David
12s queued 10s
created
src/Service/EntitiesGeneratorService.php 1 patch
Doc Comments   +20 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,6 +89,13 @@  discard block
 block discarded – undo
89 89
         return $namespace.'\\'.$daoClassName;
90 90
     }
91 91
 
92
+    /**
93
+     * @param string $namespace
94
+     * @param string $className
95
+     * @param string $moduleName
96
+     * @param string $targetDirectory
97
+     * @param string $moduleSingular
98
+     */
92 99
     public function generateBean($fields, $namespace, $className, $moduleName, $targetDirectory, $moduleSingular)
93 100
     {
94 101
 
@@ -218,7 +225,6 @@  discard block
 block discarded – undo
218 225
      * Returns a unique identifier from the name.
219 226
      *
220 227
      * @param $name
221
-     * @param array $usedNames
222 228
      */
223 229
     private function getUniqueIdentifier($name, array $usedIdentifiers)
224 230
     {
@@ -235,6 +241,15 @@  discard block
 block discarded – undo
235 241
         }
236 242
     }
237 243
 
244
+    /**
245
+     * @param string $namespace
246
+     * @param string $className
247
+     * @param string $daoClassName
248
+     * @param string $moduleName
249
+     * @param string $targetDirectory
250
+     * @param string $moduleSingular
251
+     * @param string $modulePlural
252
+     */
238 253
     public function generateDao($fields, $namespace, $className, $daoClassName, $moduleName, $targetDirectory, $moduleSingular, $modulePlural)
239 254
     {
240 255
         //        if (class_exists($namespace."\\".$className)) {
@@ -353,6 +368,10 @@  discard block
 block discarded – undo
353 368
         return $str;
354 369
     }
355 370
 
371
+    /**
372
+     * @param string $description
373
+     * @param string $type
374
+     */
356 375
     private static function registerProperty(PhpClass $class, $name, $description, $type, $nullable = false)
357 376
     {
358 377
         if (!$class->hasProperty($name)) {
Please login to merge, or discard this patch.
src/ZohoClient.php 1 patch
Doc Comments   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -87,6 +87,7 @@  discard block
 block discarded – undo
87 87
     /**
88 88
      * Implements getFields API method.
89 89
      *
90
+     * @param string $module
90 91
      * @return Response The Response object
91 92
      */
92 93
     public function getFields($module)
@@ -146,7 +147,7 @@  discard block
 block discarded – undo
146 147
      * @param $sortOrderString
147 148
      * @param \DateTime $lastModifiedTime
148 149
      * @param $selectColumns
149
-     * @param $fromIndex
150
+     * @param integer $fromIndex
150 151
      * @param $toIndex
151 152
      *
152 153
      * @return Response The Response object
@@ -212,10 +213,10 @@  discard block
 block discarded – undo
212 213
      * Implements getRecords API method.
213 214
      *
214 215
      * @param $module
215
-     * @param $id
216
-     * @param $parentModule
217
-     * @param null $fromIndex
218
-     * @param null $toIndex
216
+     * @param string $id
217
+     * @param string $parentModule
218
+     * @param integer $fromIndex
219
+     * @param integer $toIndex
219 220
      *
220 221
      * @return Response
221 222
      *
@@ -244,7 +245,7 @@  discard block
 block discarded – undo
244 245
      * @param int       $fromIndex
245 246
      * @param int       $toIndex
246 247
      * @param \DateTime $lastModifiedTime
247
-     * @param null      $selectColumns
248
+     * @param string|null      $selectColumns
248 249
      *
249 250
      * @return Response
250 251
      *
@@ -311,6 +312,7 @@  discard block
 block discarded – undo
311 312
      * @param bool $wfTrigger
312 313
      * @param int  $duplicateCheck
313 314
      * @param bool $isApproval
315
+     * @param \SimpleXMLElement $xmlData
314 316
      *
315 317
      * @return Response
316 318
      *
@@ -363,9 +365,9 @@  discard block
 block discarded – undo
363 365
      * Implements uploadFile API method.
364 366
      *
365 367
      * @param $module
366
-     * @param $id
368
+     * @param string $id
367 369
      * @param $content
368
-     * @param $filename
370
+     * @param string $filename
369 371
      *
370 372
      * @return Response
371 373
      *
@@ -404,7 +406,7 @@  discard block
 block discarded – undo
404 406
      * Implements downloadFile API method.
405 407
      *
406 408
      * @param $module
407
-     * @param $id
409
+     * @param string $id
408 410
      *
409 411
      * @return Response
410 412
      *
@@ -430,9 +432,7 @@  discard block
 block discarded – undo
430 432
      *
431 433
      * @param string                   $module  The module to use
432 434
      * @param string                   $command Command to call
433
-     * @param array                    $params  Options
434
-     * @param \SimpleXMLElement|string $data    Data to send [optional]
435
-     * @param array                    $options Options to add for configurations [optional]
435
+     * @param array                    $postParams  Options
436 436
      *
437 437
      * @return Response
438 438
      */
@@ -462,7 +462,7 @@  discard block
 block discarded – undo
462 462
     /**
463 463
      * Get the current request uri.
464 464
      *
465
-     * @param  $module The module to use
465
+     * @param  string $module The module to use
466 466
      * @param string $command Command for get uri
467 467
      *
468 468
      * @return string
Please login to merge, or discard this patch.