diff --git a/framework/console/Controller.php b/framework/console/Controller.php index 6879cfbbe2..6fc9a807cd 100644 --- a/framework/console/Controller.php +++ b/framework/console/Controller.php @@ -311,6 +311,7 @@ class Controller extends \yii\base\Controller * Child classes may override this method to specify alias options. * * @return array the options alias names valid for the action + * @since 2.0.8 */ public function optionAliases() { diff --git a/framework/console/controllers/HelpController.php b/framework/console/controllers/HelpController.php index a5f6fd92b4..a934fe4a93 100644 --- a/framework/console/controllers/HelpController.php +++ b/framework/console/controllers/HelpController.php @@ -417,6 +417,7 @@ class HelpController extends Controller * @param Controller $controller the controller instance * @param string $option the option name * @return string the formatted string for the alias argument or option + * @since 2.0.8 */ protected function formatOptionAliases($controller, $option) {