@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | * $obj = $c->findPk(12, $con); |
| 166 | 166 | * </code> |
| 167 | 167 | * |
| 168 | - * @param mixed $key Primary key to use for the query |
|
| 168 | + * @param integer $key Primary key to use for the query |
|
| 169 | 169 | * @param ConnectionInterface $con an optional connection object |
| 170 | 170 | * |
| 171 | 171 | * @return ChildBannerImage|array|mixed the result, formatted by the current formatter |
@@ -348,7 +348,7 @@ discard block |
||
| 348 | 348 | * |
| 349 | 349 | * @see filterByBanners() |
| 350 | 350 | * |
| 351 | - * @param mixed $bannerId The value to use as filter. |
|
| 351 | + * @param integer $bannerId The value to use as filter. |
|
| 352 | 352 | * Use scalar values for equality. |
| 353 | 353 | * Use array values for in_array() equivalent. |
| 354 | 354 | * Use associative array('min' => $minValue, 'max' => $maxValue) for intervals. |
@@ -698,7 +698,7 @@ discard block |
||
| 698 | 698 | /** |
| 699 | 699 | * Filter the query by a related \xbanners\models\Banners object |
| 700 | 700 | * |
| 701 | - * @param \xbanners\models\Banners|ObjectCollection $banners The related object(s) to use as filter |
|
| 701 | + * @param Banners $banners The related object(s) to use as filter |
|
| 702 | 702 | * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL |
| 703 | 703 | * |
| 704 | 704 | * @throws \Propel\Runtime\Exception\PropelException |
@@ -333,7 +333,7 @@ discard block |
||
| 333 | 333 | * |
| 334 | 334 | * @param string $msg |
| 335 | 335 | * @param int $priority One of the Propel::LOG_* logging levels |
| 336 | - * @return boolean |
|
| 336 | + * @return boolean|null |
|
| 337 | 337 | */ |
| 338 | 338 | protected function log($msg, $priority = Propel::LOG_INFO) |
| 339 | 339 | { |
@@ -1166,7 +1166,7 @@ discard block |
||
| 1166 | 1166 | * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM. |
| 1167 | 1167 | * The default key type is the column's TableMap::TYPE_PHPNAME. |
| 1168 | 1168 | * |
| 1169 | - * @param mixed $parser A AbstractParser instance, |
|
| 1169 | + * @param string $parser A AbstractParser instance, |
|
| 1170 | 1170 | * or a format name ('XML', 'YAML', 'JSON', 'CSV') |
| 1171 | 1171 | * @param string $data The source data to import from |
| 1172 | 1172 | * @param string $keyType The type of keys the array uses. |
@@ -2002,7 +2002,7 @@ discard block |
||
| 2002 | 2002 | * Set the value of [name] column. |
| 2003 | 2003 | * |
| 2004 | 2004 | * @param string $v new value |
| 2005 | - * @return $this|\xbanners\models\BannersI18n The current object (for fluent API support) |
|
| 2005 | + * @return Banners The current object (for fluent API support) |
|
| 2006 | 2006 | */ |
| 2007 | 2007 | public function setName($v) |
| 2008 | 2008 | { $this->getCurrentTranslation()->setName($v); |
@@ -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. |
@@ -118,7 +118,6 @@ discard block |
||
| 118 | 118 | * $obj = $c->findPk(array(12, 34), $con); |
| 119 | 119 | * </code> |
| 120 | 120 | * |
| 121 | - * @param array[$id, $locale] $key Primary key to use for the query |
|
| 122 | 121 | * @param ConnectionInterface $con an optional connection object |
| 123 | 122 | * |
| 124 | 123 | * @return ChildBannersI18n|array|mixed the result, formatted by the current formatter |
@@ -364,7 +363,7 @@ discard block |
||
| 364 | 363 | /** |
| 365 | 364 | * Filter the query by a related \xbanners\models\Banners object |
| 366 | 365 | * |
| 367 | - * @param \xbanners\models\Banners|ObjectCollection $banners The related object(s) to use as filter |
|
| 366 | + * @param Banners $banners The related object(s) to use as filter |
|
| 368 | 367 | * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL |
| 369 | 368 | * |
| 370 | 369 | * @throws \Propel\Runtime\Exception\PropelException |
@@ -146,7 +146,7 @@ |
||
| 146 | 146 | * $obj = $c->findPk(12, $con); |
| 147 | 147 | * </code> |
| 148 | 148 | * |
| 149 | - * @param mixed $key Primary key to use for the query |
|
| 149 | + * @param integer $key Primary key to use for the query |
|
| 150 | 150 | * @param ConnectionInterface $con an optional connection object |
| 151 | 151 | * |
| 152 | 152 | * @return ChildBanners|array|mixed the result, formatted by the current formatter |
@@ -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 | { |
@@ -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 | |