@@ -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; |
@@ -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 |
@@ -268,7 +268,7 @@ |
||
| 268 | 268 | * @param string $indexType One of the class type constants TableMap::TYPE_PHPNAME, TableMap::TYPE_CAMELNAME |
| 269 | 269 | * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM |
| 270 | 270 | * |
| 271 | - * @return mixed The primary key of the row |
|
| 271 | + * @return integer The primary key of the row |
|
| 272 | 272 | */ |
| 273 | 273 | public static function getPrimaryKeyFromRow($row, $offset = 0, $indexType = TableMap::TYPE_NUM) |
| 274 | 274 | { |
@@ -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(); |