@@ -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]] |
@@ -582,7 +582,7 @@ discard block |
||
582 | 582 | /** |
583 | 583 | * remove multi empty lines and trim trailing whitespace. |
584 | 584 | * |
585 | - * @param $doc |
|
585 | + * @param string $doc |
|
586 | 586 | * @return string |
587 | 587 | */ |
588 | 588 | protected function cleanDocComment($doc) |
@@ -601,7 +601,7 @@ discard block |
||
601 | 601 | |
602 | 602 | /** |
603 | 603 | * Replace property annotations in doc comment. |
604 | - * @param $doc |
|
604 | + * @param string $doc |
|
605 | 605 | * @param $properties |
606 | 606 | * @return string |
607 | 607 | */ |
@@ -768,6 +768,9 @@ discard block |
||
768 | 768 | return [$className, $phpdoc]; |
769 | 769 | } |
770 | 770 | |
771 | + /** |
|
772 | + * @param string $pattern |
|
773 | + */ |
|
771 | 774 | protected function match($pattern, $subject, $split = false) |
772 | 775 | { |
773 | 776 | $sets = []; |
@@ -792,6 +795,9 @@ discard block |
||
792 | 795 | return $sets; |
793 | 796 | } |
794 | 797 | |
798 | + /** |
|
799 | + * @param string $str |
|
800 | + */ |
|
795 | 801 | protected function fixSentence($str) |
796 | 802 | { |
797 | 803 | // TODO fix word wrap |
@@ -802,6 +808,9 @@ discard block |
||
802 | 808 | return strtoupper(substr($str, 0, 1)) . substr($str, 1) . ($str[\strlen($str) - 1] != '.' ? '.' : ''); |
803 | 809 | } |
804 | 810 | |
811 | + /** |
|
812 | + * @param string $param |
|
813 | + */ |
|
805 | 814 | protected function getPropParam($prop, $param) |
806 | 815 | { |
807 | 816 | return isset($prop['property']) ? $prop['property'][$param] : (isset($prop['get']) ? $prop['get'][$param] : $prop['set'][$param]); |
@@ -11,7 +11,6 @@ |
||
11 | 11 | use Psr\Log\LogLevel; |
12 | 12 | use yii\base\InvalidArgumentException; |
13 | 13 | use yii\base\InvalidConfigException; |
14 | -use yii\base\UnknownClassException; |
|
15 | 14 | use yii\di\Container; |
16 | 15 | use yii\di\Instance; |
17 | 16 | use yii\helpers\VarDumper; |
@@ -432,7 +432,7 @@ |
||
432 | 432 | * The [[render()]], [[renderPartial()]] and [[renderFile()]] methods will use |
433 | 433 | * this view object to implement the actual view rendering. |
434 | 434 | * If not set, it will default to the "view" application component. |
435 | - * @return View|\yii\web\View the view object that can be used to render views or view files. |
|
435 | + * @return View the view object that can be used to render views or view files. |
|
436 | 436 | */ |
437 | 437 | public function getView() |
438 | 438 | { |
@@ -241,7 +241,7 @@ |
||
241 | 241 | * This method retains the immutability of the message and returns an instance that has the |
242 | 242 | * new and/or updated header and value. |
243 | 243 | * @param string $name Case-insensitive header field name. |
244 | - * @param string|string[] $value Header value(s). |
|
244 | + * @param string $value Header value(s). |
|
245 | 245 | * @return static |
246 | 246 | * @throws \InvalidArgumentException for invalid header names or values. |
247 | 247 | */ |