@@ -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()) { |
@@ -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; |
@@ -1101,7 +1101,7 @@ discard block |
||
| 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 |
||
| 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 | { |
@@ -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 | { |
@@ -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 | |
@@ -57,6 +57,9 @@ |
||
| 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) { |
@@ -290,7 +290,7 @@ |
||
| 290 | 290 | } |
| 291 | 291 | |
| 292 | 292 | /** |
| 293 | - * @return bool |
|
| 293 | + * @return false|null |
|
| 294 | 294 | */ |
| 295 | 295 | public function Querys() { |
| 296 | 296 | |
@@ -26,7 +26,7 @@ |
||
| 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) { |