Add phpdoc for properties "request" and "response" in web and console controllers (#18361)

This commit is contained in:
Sergei Predvoditelev
2020-11-01 17:38:32 +03:00
committed by GitHub
parent 7e4026cd62
commit 306171b582
2 changed files with 5 additions and 0 deletions

View File

@ -34,6 +34,8 @@ use yii\helpers\Inflector;
* read-only. * read-only.
* @property array $passedOptions The names of the options passed during execution. This property is * @property array $passedOptions The names of the options passed during execution. This property is
* read-only. * read-only.
* @property-read Request $request
* @property-read Response $response
* *
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0 * @since 2.0

View File

@ -17,6 +17,9 @@ use yii\helpers\Url;
* *
* For more details and usage information on Controller, see the [guide article on controllers](guide:structure-controllers). * For more details and usage information on Controller, see the [guide article on controllers](guide:structure-controllers).
* *
* @property-read Request $request
* @property-read Response $response
*
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0 * @since 2.0
*/ */