@@ -227,7 +227,7 @@ discard block |
||
| 227 | 227 | /** |
| 228 | 228 | * @param string $string |
| 229 | 229 | * @param string $prev_string |
| 230 | - * @return null|string |
|
| 230 | + * @return string |
|
| 231 | 231 | */ |
| 232 | 232 | public function make($string, $prev_string) { |
| 233 | 233 | |
@@ -425,7 +425,7 @@ discard block |
||
| 425 | 425 | * @param string $string |
| 426 | 426 | * @param integer $part |
| 427 | 427 | * @param bool $ucFirst |
| 428 | - * @return array |
|
| 428 | + * @return string |
|
| 429 | 429 | */ |
| 430 | 430 | public function getMorph($string, $part, $ucFirst = false) { |
| 431 | 431 | |
@@ -809,7 +809,7 @@ discard block |
||
| 809 | 809 | } |
| 810 | 810 | |
| 811 | 811 | /** |
| 812 | - * @param array $metaArray |
|
| 812 | + * @param string[] $metaArray |
|
| 813 | 813 | */ |
| 814 | 814 | public function setMetaArray($metaArray) { |
| 815 | 815 | |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use CMSFactory\assetManager; |
| 7 | 7 | use Currency\Currency; |
| 8 | 8 | use Exception; |
| 9 | -use MY_Controller; |
|
| 10 | 9 | use phpMorphy; |
| 11 | 10 | use phpMorphy_Exception; |
| 12 | 11 | use SBrands; |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use MY_Controller; |
| 6 | 6 | use SProductPropertiesDataQuery; |
| 7 | -use SProducts; |
|
| 8 | 7 | |
| 9 | 8 | /** |
| 10 | 9 | * Class ShopProductMetaManipulator |
@@ -440,7 +440,7 @@ |
||
| 440 | 440 | } |
| 441 | 441 | |
| 442 | 442 | /** |
| 443 | - * @return true |
|
| 443 | + * @return boolean |
|
| 444 | 444 | */ |
| 445 | 445 | public function deinstallModule() { |
| 446 | 446 | |
@@ -335,7 +335,7 @@ |
||
| 335 | 335 | } |
| 336 | 336 | |
| 337 | 337 | /** |
| 338 | - * @return array |
|
| 338 | + * @return string |
|
| 339 | 339 | */ |
| 340 | 340 | public function get_default_lang() { |
| 341 | 341 | if ($this->db) { |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | 15 | * @param string $content |
| 16 | - * @return mixed |
|
| 16 | + * @return string |
|
| 17 | 17 | */ |
| 18 | 18 | function href_nofollow($content) { |
| 19 | 19 | return preg_replace_callback('/<(a\s[^>]+)>/isU', 'seo_nofollow_replace', $content); |
@@ -353,7 +353,7 @@ discard block |
||
| 353 | 353 | * |
| 354 | 354 | * @param string $msg |
| 355 | 355 | * @param int $priority One of the Propel::LOG_* logging levels |
| 356 | - * @return boolean |
|
| 356 | + * @return boolean|null |
|
| 357 | 357 | */ |
| 358 | 358 | protected function log($msg, $priority = Propel::LOG_INFO) |
| 359 | 359 | { |
@@ -1383,7 +1383,7 @@ discard block |
||
| 1383 | 1383 | * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM. |
| 1384 | 1384 | * The default key type is the column's TableMap::TYPE_PHPNAME. |
| 1385 | 1385 | * |
| 1386 | - * @param mixed $parser A AbstractParser instance, |
|
| 1386 | + * @param string $parser A AbstractParser instance, |
|
| 1387 | 1387 | * or a format name ('XML', 'YAML', 'JSON', 'CSV') |
| 1388 | 1388 | * @param string $data The source data to import from |
| 1389 | 1389 | * @param string $keyType The type of keys the array uses. |
@@ -2054,7 +2054,7 @@ discard block |
||
| 2054 | 2054 | * Set the value of [src] column. |
| 2055 | 2055 | * |
| 2056 | 2056 | * @param string $v new value |
| 2057 | - * @return $this|\xbanners\models\BannerImageI18n The current object (for fluent API support) |
|
| 2057 | + * @return BannerImage The current object (for fluent API support) |
|
| 2058 | 2058 | */ |
| 2059 | 2059 | public function setSrc($v) |
| 2060 | 2060 | { $this->getCurrentTranslation()->setSrc($v); |
@@ -2078,7 +2078,7 @@ discard block |
||
| 2078 | 2078 | * Set the value of [name] column. |
| 2079 | 2079 | * |
| 2080 | 2080 | * @param string $v new value |
| 2081 | - * @return $this|\xbanners\models\BannerImageI18n The current object (for fluent API support) |
|
| 2081 | + * @return BannerImage The current object (for fluent API support) |
|
| 2082 | 2082 | */ |
| 2083 | 2083 | public function setName($v) |
| 2084 | 2084 | { $this->getCurrentTranslation()->setName($v); |
@@ -2102,7 +2102,7 @@ discard block |
||
| 2102 | 2102 | * Set the value of [clicks] column. |
| 2103 | 2103 | * |
| 2104 | 2104 | * @param int $v new value |
| 2105 | - * @return $this|\xbanners\models\BannerImageI18n The current object (for fluent API support) |
|
| 2105 | + * @return BannerImage The current object (for fluent API support) |
|
| 2106 | 2106 | */ |
| 2107 | 2107 | public function setClicks($v) |
| 2108 | 2108 | { $this->getCurrentTranslation()->setClicks($v); |
@@ -2126,7 +2126,7 @@ discard block |
||
| 2126 | 2126 | * Set the value of [description] column. |
| 2127 | 2127 | * |
| 2128 | 2128 | * @param string $v new value |
| 2129 | - * @return $this|\xbanners\models\BannerImageI18n The current object (for fluent API support) |
|
| 2129 | + * @return BannerImage The current object (for fluent API support) |
|
| 2130 | 2130 | */ |
| 2131 | 2131 | public function setDescription($v) |
| 2132 | 2132 | { $this->getCurrentTranslation()->setDescription($v); |
@@ -308,7 +308,7 @@ discard block |
||
| 308 | 308 | * |
| 309 | 309 | * @param string $msg |
| 310 | 310 | * @param int $priority One of the Propel::LOG_* logging levels |
| 311 | - * @return boolean |
|
| 311 | + * @return boolean|null |
|
| 312 | 312 | */ |
| 313 | 313 | protected function log($msg, $priority = Propel::LOG_INFO) |
| 314 | 314 | { |
@@ -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. |
@@ -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; |
@@ -133,7 +133,6 @@ discard block |
||
| 133 | 133 | * $obj = $c->findPk(array(12, 34), $con); |
| 134 | 134 | * </code> |
| 135 | 135 | * |
| 136 | - * @param array[$id, $locale] $key Primary key to use for the query |
|
| 137 | 136 | * @param ConnectionInterface $con an optional connection object |
| 138 | 137 | * |
| 139 | 138 | * @return ChildBannerImageI18n|array|mixed the result, formatted by the current formatter |
@@ -478,7 +477,7 @@ discard block |
||
| 478 | 477 | /** |
| 479 | 478 | * Filter the query by a related \xbanners\models\BannerImage object |
| 480 | 479 | * |
| 481 | - * @param \xbanners\models\BannerImage|ObjectCollection $bannerImage The related object(s) to use as filter |
|
| 480 | + * @param BannerImage $bannerImage The related object(s) to use as filter |
|
| 482 | 481 | * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL |
| 483 | 482 | * |
| 484 | 483 | * @throws \Propel\Runtime\Exception\PropelException |
@@ -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 |