Completed
Push — development ( 9ca09c...006c45 )
by Andrij
09:50
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/xbanners/models/Base/BannerImageI18n.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Propel\Runtime\ActiveQuery\Criteria;
9 9
 use Propel\Runtime\ActiveQuery\ModelCriteria;
10 10
 use Propel\Runtime\ActiveRecord\ActiveRecordInterface;
11
-use Propel\Runtime\Collection\Collection;
12 11
 use Propel\Runtime\Connection\ConnectionInterface;
13 12
 use Propel\Runtime\Exception\BadMethodCallException;
14 13
 use Propel\Runtime\Exception\LogicException;
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1101,7 +1101,7 @@  discard block
 block discarded – undo
1101 1101
      * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM.
1102 1102
      * The default key type is the column's TableMap::TYPE_PHPNAME.
1103 1103
      *
1104
-     * @param mixed $parser A AbstractParser instance,
1104
+     * @param string $parser A AbstractParser instance,
1105 1105
      *                       or a format name ('XML', 'YAML', 'JSON', 'CSV')
1106 1106
      * @param string $data The source data to import from
1107 1107
      * @param string $keyType The type of keys the array uses.
@@ -1158,7 +1158,7 @@  discard block
 block discarded – undo
1158 1158
      *
1159 1159
      * @throws LogicException if no primary key is defined
1160 1160
      *
1161
-     * @return Criteria The Criteria object containing value(s) for primary key(s).
1161
+     * @return null|Criteria The Criteria object containing value(s) for primary key(s).
1162 1162
      */
1163 1163
     public function buildPkeyCriteria()
1164 1164
     {
Please login to merge, or discard this patch.
application/modules/xbanners/models/Map/BannerImageTableMap.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -245,7 +245,7 @@
 block discarded – undo
245 245
      * @param string $indexType One of the class type constants TableMap::TYPE_PHPNAME, TableMap::TYPE_CAMELNAME
246 246
      *                           TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM
247 247
      *
248
-     * @return mixed The primary key of the row
248
+     * @return integer The primary key of the row
249 249
      */
250 250
     public static function getPrimaryKeyFromRow($row, $offset = 0, $indexType = TableMap::TYPE_NUM)
251 251
     {
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/import_export/classes/BaseImport.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -290,7 +290,7 @@
 block discarded – undo
290 290
     }
291 291
 
292 292
     /**
293
-     * @return bool
293
+     * @return false|null
294 294
      */
295 295
     public function Querys() {
296 296
 
Please login to merge, or discard this patch.
application/modules/ymarket/models/ymarket_model.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
     /**
28 28
      * Selects the category assigned by the user
29
-     * @param $type int
29
+     * @param integer $type int
30 30
      * @return array Information about the selected category
31 31
      */
32 32
     public function init($type) {
Please login to merge, or discard this patch.