Completed
Pull Request — development (#100)
by
unknown
08:09
created
application/modules/xbanners/xbanners.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     /**
56 56
      * @uses xbanners_helper.php getBanner()
57 57
      * @param string $place
58
-     * @return BannersQuery
58
+     * @return xbanners\models\Banners
59 59
      */
60 60
     public function getBanner($place) {
61 61
         $locale = MY_Controller::getCurrentLocale();
Please login to merge, or discard this patch.
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
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
      *
288 288
      * @param  string  $msg
289 289
      * @param  int     $priority One of the Propel::LOG_* logging levels
290
-     * @return boolean
290
+     * @return boolean|null
291 291
      */
292 292
     protected function log($msg, $priority = Propel::LOG_INFO)
293 293
     {
@@ -933,7 +933,7 @@  discard block
 block discarded – undo
933 933
      * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM.
934 934
      * The default key type is the column's TableMap::TYPE_PHPNAME.
935 935
      *
936
-     * @param mixed $parser A AbstractParser instance,
936
+     * @param string $parser A AbstractParser instance,
937 937
      *                       or a format name ('XML', 'YAML', 'JSON', 'CSV')
938 938
      * @param string $data The source data to import from
939 939
      * @param string $keyType The type of keys the array uses.
Please login to merge, or discard this patch.
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.
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/xbanners/models/Base/BannerImage.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
      *
288 288
      * @param  string  $msg
289 289
      * @param  int     $priority One of the Propel::LOG_* logging levels
290
-     * @return boolean
290
+     * @return boolean|null
291 291
      */
292 292
     protected function log($msg, $priority = Propel::LOG_INFO)
293 293
     {
@@ -933,7 +933,7 @@  discard block
 block discarded – undo
933 933
      * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM.
934 934
      * The default key type is the column's TableMap::TYPE_PHPNAME.
935 935
      *
936
-     * @param mixed $parser A AbstractParser instance,
936
+     * @param string $parser A AbstractParser instance,
937 937
      *                       or a format name ('XML', 'YAML', 'JSON', 'CSV')
938 938
      * @param string $data The source data to import from
939 939
      * @param string $keyType The type of keys the array uses.
Please login to merge, or discard this patch.
application/modules/xbanners/models/Base/Banners.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
      *
288 288
      * @param  string  $msg
289 289
      * @param  int     $priority One of the Propel::LOG_* logging levels
290
-     * @return boolean
290
+     * @return boolean|null
291 291
      */
292 292
     protected function log($msg, $priority = Propel::LOG_INFO)
293 293
     {
@@ -933,7 +933,7 @@  discard block
 block discarded – undo
933 933
      * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM.
934 934
      * The default key type is the column's TableMap::TYPE_PHPNAME.
935 935
      *
936
-     * @param mixed $parser A AbstractParser instance,
936
+     * @param string $parser A AbstractParser instance,
937 937
      *                       or a format name ('XML', 'YAML', 'JSON', 'CSV')
938 938
      * @param string $data The source data to import from
939 939
      * @param string $keyType The type of keys the array uses.
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.