@@ -55,7 +55,7 @@ |
||
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(); |
@@ -289,7 +289,7 @@ discard block |
||
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 |
||
336 | 336 | } |
337 | 337 | |
338 | 338 | /** |
339 | - * @return array |
|
339 | + * @return string |
|
340 | 340 | */ |
341 | 341 | public function get_default_lang() { |
342 | 342 |
@@ -62,8 +62,8 @@ discard block |
||
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 |
||
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 |
||
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 |
@@ -52,7 +52,7 @@ |
||
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()) { |
@@ -287,7 +287,7 @@ discard block |
||
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 |
||
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. |
@@ -8,7 +8,6 @@ |
||
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; |
@@ -245,7 +245,7 @@ |
||
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 | { |
@@ -287,7 +287,7 @@ discard block |
||
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 |
||
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. |
@@ -287,7 +287,7 @@ discard block |
||
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 |
||
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. |
@@ -128,7 +128,7 @@ |
||
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 |