diff --git a/framework/console/Controller.php b/framework/console/Controller.php index 579b5977830..ef15d442f5e 100644 --- a/framework/console/Controller.php +++ b/framework/console/Controller.php @@ -28,6 +28,7 @@ * where `` is a route to a controller action and the params will be populated as properties of a command. * See [[options()]] for details. * + * @property Response|array|string response The response. * @property-read string $help * @property-read string $helpSummary * @property-read array $passedOptionValues The properties corresponding to the passed options. diff --git a/framework/web/Controller.php b/framework/web/Controller.php index 86be85819f0..df63dbe220c 100644 --- a/framework/web/Controller.php +++ b/framework/web/Controller.php @@ -17,6 +17,8 @@ * * For more details and usage information on Controller, see the [guide article on controllers](guide:structure-controllers). * + * @property Response|array|string response The response. + * * @author Qiang Xue * @since 2.0 */