@@ -350,7 +350,7 @@ |
||
350 | 350 | /** |
351 | 351 | * Detect attribute type from given validator. |
352 | 352 | * |
353 | - * @param Validator validator from which to detect attribute type. |
|
353 | + * @param Validator Validator from which to detect attribute type. |
|
354 | 354 | * @return string|null detected attribute type. |
355 | 355 | * @since 2.0.14 |
356 | 356 | */ |
@@ -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 | { |
@@ -949,7 +949,7 @@ discard block |
||
949 | 949 | |
950 | 950 | /** |
951 | 951 | * Sets the GROUP BY part of the query. |
952 | - * @param string|array|ExpressionInterface $columns the columns to be grouped by. |
|
952 | + * @param string $columns the columns to be grouped by. |
|
953 | 953 | * Columns can be specified in either a string (e.g. "id, name") or an array (e.g. ['id', 'name']). |
954 | 954 | * The method will automatically quote the column names unless a column contains some parenthesis |
955 | 955 | * (which means the column contains a DB expression). |
@@ -1154,7 +1154,7 @@ discard block |
||
1154 | 1154 | |
1155 | 1155 | /** |
1156 | 1156 | * Appends a SQL statement using UNION operator. |
1157 | - * @param string|Query $sql the SQL statement to be appended using UNION |
|
1157 | + * @param Query $sql the SQL statement to be appended using UNION |
|
1158 | 1158 | * @param bool $all TRUE if using UNION ALL and FALSE if using UNION |
1159 | 1159 | * @return $this the query object itself |
1160 | 1160 | */ |
@@ -425,6 +425,7 @@ |
||
425 | 425 | |
426 | 426 | /** |
427 | 427 | * {@inheritdoc} |
428 | + * @param Query $query |
|
428 | 429 | */ |
429 | 430 | public function build($query, $params = []) |
430 | 431 | { |
@@ -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 | */ |
@@ -77,6 +77,7 @@ |
||
77 | 77 | |
78 | 78 | /** |
79 | 79 | * {@inheritdoc} |
80 | + * @return string |
|
80 | 81 | */ |
81 | 82 | public function formatMessage($message) |
82 | 83 | { |
@@ -211,6 +211,7 @@ discard block |
||
211 | 211 | /** |
212 | 212 | * {@inheritdoc} |
213 | 213 | * @since 2.0.8 |
214 | + * @param string $comment |
|
214 | 215 | */ |
215 | 216 | public function addCommentOnColumn($table, $column, $comment) |
216 | 217 | { |
@@ -227,6 +228,7 @@ discard block |
||
227 | 228 | /** |
228 | 229 | * {@inheritdoc} |
229 | 230 | * @since 2.0.8 |
231 | + * @param string $comment |
|
230 | 232 | */ |
231 | 233 | public function addCommentOnTable($table, $comment) |
232 | 234 | { |
@@ -245,6 +245,7 @@ |
||
245 | 245 | |
246 | 246 | /** |
247 | 247 | * {@inheritdoc} |
248 | + * @param string $table |
|
248 | 249 | */ |
249 | 250 | public function insert($table, $columns, &$params) |
250 | 251 | { |