@@ -355,7 +355,7 @@ |
||
355 | 355 | * Safely casts a float to string independent of the current locale. |
356 | 356 | * |
357 | 357 | * The decimal separator will always be `.`. |
358 | - * @param float|int $number a floating point number or integer. |
|
358 | + * @param double $number a floating point number or integer. |
|
359 | 359 | * @return string the string representation of the number. |
360 | 360 | * @since 2.0.13 |
361 | 361 | */ |
@@ -403,7 +403,7 @@ discard block |
||
403 | 403 | * Executes the INSERT command, returning primary key values. |
404 | 404 | * @param string $table the table that new rows will be inserted into. |
405 | 405 | * @param array $columns the column data (name => value) to be inserted into the table. |
406 | - * @return array|false primary key values or false if the command fails |
|
406 | + * @return string primary key values or false if the command fails |
|
407 | 407 | * @since 2.0.4 |
408 | 408 | */ |
409 | 409 | public function insert($table, $columns) |
@@ -609,7 +609,7 @@ discard block |
||
609 | 609 | /** |
610 | 610 | * Returns the cache key for the specified table name. |
611 | 611 | * @param string $name the table name. |
612 | - * @return mixed the cache key. |
|
612 | + * @return string[] the cache key. |
|
613 | 613 | */ |
614 | 614 | protected function getCacheKey($name) |
615 | 615 | { |
@@ -499,7 +499,7 @@ discard block |
||
499 | 499 | |
500 | 500 | /** |
501 | 501 | * Specifies the URI instance. |
502 | - * @param UriInterface|\Closure|array $uri URI instance or its DI compatible configuration. |
|
502 | + * @param UriInterface $uri URI instance or its DI compatible configuration. |
|
503 | 503 | * @since 2.1.0 |
504 | 504 | */ |
505 | 505 | public function setUri($uri) |
@@ -750,7 +750,7 @@ discard block |
||
750 | 750 | * If the parameter does not exist, the second parameter passed to this method will be returned. |
751 | 751 | * @param string $name the parameter name |
752 | 752 | * @param mixed $defaultValue the default parameter value if the parameter does not exist. |
753 | - * @return mixed the parameter value |
|
753 | + * @return string the parameter value |
|
754 | 754 | * @see getParsedBody() |
755 | 755 | * @see setParsedBody() |
756 | 756 | */ |
@@ -876,7 +876,7 @@ discard block |
||
876 | 876 | /** |
877 | 877 | * Return the server environment parameter by name. |
878 | 878 | * @param string $name parameter name. |
879 | - * @param mixed $default default value to return if the parameter does not exist. |
|
879 | + * @param string $default default value to return if the parameter does not exist. |
|
880 | 880 | * @return mixed parameter value. |
881 | 881 | * @since 2.1.0 |
882 | 882 | */ |
@@ -241,7 +241,7 @@ |
||
241 | 241 | * where `Xyz` stands for the action ID. If found, an [[InlineAction]] representing that |
242 | 242 | * method will be created and returned. |
243 | 243 | * @param string $id the action ID. |
244 | - * @return Action|null the newly created action instance. Null if the ID doesn't resolve into any action. |
|
244 | + * @return Action the newly created action instance. Null if the ID doesn't resolve into any action. |
|
245 | 245 | */ |
246 | 246 | public function createAction($id) |
247 | 247 | { |
@@ -100,7 +100,7 @@ |
||
100 | 100 | |
101 | 101 | /** |
102 | 102 | * {@inheritdoc} |
103 | - * @return static|null ActiveRecord instance matching the condition, or `null` if nothing matches. |
|
103 | + * @return BaseActiveRecord ActiveRecord instance matching the condition, or `null` if nothing matches. |
|
104 | 104 | */ |
105 | 105 | public static function findOne($condition) |
106 | 106 | { |
@@ -240,6 +240,7 @@ |
||
240 | 240 | |
241 | 241 | /** |
242 | 242 | * {@inheritdoc} |
243 | + * @param string $name |
|
243 | 244 | */ |
244 | 245 | public function quoteSimpleTableName($name) |
245 | 246 | { |
@@ -466,6 +466,7 @@ |
||
466 | 466 | |
467 | 467 | /** |
468 | 468 | * {@inheritdoc} |
469 | + * @param Query $query |
|
469 | 470 | */ |
470 | 471 | public function build($query, $params = []) |
471 | 472 | { |
@@ -278,6 +278,7 @@ discard block |
||
278 | 278 | /** |
279 | 279 | * {@inheritdoc} |
280 | 280 | * @since 2.0.8 |
281 | + * @param string $comment |
|
281 | 282 | */ |
282 | 283 | public function addCommentOnColumn($table, $column, $comment) |
283 | 284 | { |
@@ -294,6 +295,7 @@ discard block |
||
294 | 295 | /** |
295 | 296 | * {@inheritdoc} |
296 | 297 | * @since 2.0.8 |
298 | + * @param string $comment |
|
297 | 299 | */ |
298 | 300 | public function addCommentOnTable($table, $comment) |
299 | 301 | { |