@@ -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 | { |
@@ -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 | { |
@@ -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 | { |
@@ -773,7 +773,7 @@ |
||
773 | 773 | * @param string $pattern |
774 | 774 | * @param bool $caseSensitive |
775 | 775 | * @throws InvalidArgumentException |
776 | - * @return array with keys: (string) pattern, (int) flags, (int|bool) firstWildcard |
|
776 | + * @return string with keys: (string) pattern, (int) flags, (int|bool) firstWildcard |
|
777 | 777 | */ |
778 | 778 | private static function parseExcludePattern($pattern, $caseSensitive) |
779 | 779 | { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use yii\db\ExpressionBuilderInterface; |
6 | 6 | use yii\db\ExpressionBuilderTrait; |
7 | 7 | use yii\db\ExpressionInterface; |
8 | -use yii\db\Query; |
|
9 | 8 | |
10 | 9 | /** |
11 | 10 | * Class NotConditionBuilder builds objects of [[SimpleCondition]] |
@@ -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 | */ |