Completed
Pull Request — development (#107)
by
unknown
09:56
created
application/models/cms_admin.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
 
290 290
     /**
291 291
      * @param $id
292
-     * @return bool|array
292
+     * @return string
293 293
      */
294 294
     public function get_lang($id) {
295 295
 
@@ -336,7 +336,7 @@  discard block
 block discarded – undo
336 336
     }
337 337
 
338 338
     /**
339
-     * @return array
339
+     * @return string
340 340
      */
341 341
     public function get_default_lang() {
342 342
 
Please login to merge, or discard this patch.
application/modules/CMSFactory/assetManager.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -62,8 +62,8 @@  discard block
 block discarded – undo
62 62
     }
63 63
 
64 64
     /**
65
-     * @param string|array $item
66
-     * @param string|integer|float $value
65
+     * @param string $item
66
+     * @param boolean|string $value
67 67
      * @return assetManager
68 68
      * @access public
69 69
      * @copyright ImageCMS (c) 2013, Roman <[email protected]>
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 
154 154
     /**
155 155
      * @param string $item
156
-     * @return string|integer|float|array|boolean
156
+     * @return string
157 157
      * @access public
158 158
      * @author
159 159
      * @copyright
@@ -288,9 +288,9 @@  discard block
 block discarded – undo
288 288
 
289 289
     /**
290 290
      * Checks if file exists in any of modules dirs. If exists returns its path
291
-     * @param string|array $files example: ['menu/assets/css/style.css']
291
+     * @param string[] $files example: ['menu/assets/css/style.css']
292 292
      * @param bool $noExt
293
-     * @return bool|string returns file path or FALSE
293
+     * @return string|false returns file path or FALSE
294 294
      */
295 295
     private function getModuleFilePath($files, $noExt = true) {
296 296
 
Please login to merge, or discard this patch.
application/modules/payment_method_privat24/payment_method_privat24.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     /**
53 53
      * Отримуємо форму адміна при підключенні оплати
54 54
      * @param integer $id способу оплати
55
-     * @return array та форму з даними цього масиву
55
+     * @return null|string та форму з даними цього масиву
56 56
      */
57 57
     public function getAdminForm($id, $payName = null) {
58 58
         if (!$this->dx_auth->is_admin()) {
Please login to merge, or discard this patch.
application/modules/exchange/classes/ExchangeBase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
      * @param string $tableName
129 129
      * @param array $data
130 130
      * @throws Exception
131
-     * @return bool|void
131
+     * @return false|null
132 132
      */
133 133
     protected function insertPropertiesData($tableName, $data) {
134 134
 
Please login to merge, or discard this patch.
application/modules/exchange/classes/Properties.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -57,6 +57,9 @@
 block discarded – undo
57 57
      */
58 58
     protected $propertiesData = [];
59 59
 
60
+    /**
61
+     * @param string $externalId
62
+     */
60 63
     public function getBrandIdByExId($externalId = NULL) {
61 64
 
62 65
         if ($externalId == NULL) {
Please login to merge, or discard this patch.
application/modules/CMSFactory/MetaManipulator/MetaManipulator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -436,7 +436,7 @@  discard block
 block discarded – undo
436 436
      * @param string $string
437 437
      * @param integer $part
438 438
      * @param bool $ucFirst
439
-     * @return array
439
+     * @return string
440 440
      */
441 441
     public function getMorph($string, $part, $ucFirst = false) {
442 442
 
@@ -806,7 +806,7 @@  discard block
 block discarded – undo
806 806
     }
807 807
 
808 808
     /**
809
-     * @param array $metaArray
809
+     * @param string[] $metaArray
810 810
      */
811 811
     public function setMetaArray($metaArray) {
812 812
 
Please login to merge, or discard this patch.
application/modules/CMSFactory/Services/Morphy/Morphy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     /**
45 45
      * @param string $string
46 46
      * @param int $case
47
-     * @return mixed|string
47
+     * @return string
48 48
      */
49 49
     public function morphy($string, $case = 1) {
50 50
 
Please login to merge, or discard this patch.
application/modules/mod_seo/mod_seo.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
     }
356 356
 
357 357
     /**
358
-     * @return bool
358
+     * @return false|null
359 359
      */
360 360
     public static function _buildSearchMeta() {
361 361
 
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
     }
379 379
 
380 380
     /**
381
-     * @return bool
381
+     * @return false|null
382 382
      */
383 383
     public static function _buildGalleryMeta() {
384 384
 
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
 
403 403
     /**
404 404
      * @param array $data
405
-     * @return bool
405
+     * @return false|null
406 406
      */
407 407
     public static function _buildGalleryCategoryMeta($data) {
408 408
 
@@ -427,7 +427,7 @@  discard block
 block discarded – undo
427 427
 
428 428
     /**
429 429
      * @param array $data
430
-     * @return bool
430
+     * @return false|null
431 431
      */
432 432
     public static function _buildGalleryAlbumMeta($data) {
433 433
 
@@ -455,7 +455,7 @@  discard block
 block discarded – undo
455 455
 
456 456
     /**
457 457
      * @param array $data
458
-     * @return bool
458
+     * @return false|null
459 459
      */
460 460
     public static function _buildActionSearchMeta($data) {
461 461
 
Please login to merge, or discard this patch.
application/modules/payment_method_oschadbank/payment_method_oschadbank.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -333,6 +333,9 @@
 block discarded – undo
333 333
      * @float  $y
334 334
      * @float  $width
335 335
      * @float  $height
336
+     * @param integer $y
337
+     * @param integer $width
338
+     * @param integer $height
336 339
      * @return void
337 340
      */
338 341
     protected function drawTextB($text, $x, $y, $width, $height) {
Please login to merge, or discard this patch.