From 35dd698f3016b91593fa82076a96e410515ccafc Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Thu, 20 Oct 2016 12:46:02 +0200 Subject: [PATCH] added missing `@since` annotations --- framework/rbac/ManagerInterface.php | 1 + framework/widgets/DetailView.php | 3 +++ 2 files changed, 4 insertions(+) diff --git a/framework/rbac/ManagerInterface.php b/framework/rbac/ManagerInterface.php index b12650774f..4888ab4bec 100644 --- a/framework/rbac/ManagerInterface.php +++ b/framework/rbac/ManagerInterface.php @@ -82,6 +82,7 @@ interface ManagerInterface extends CheckAccessInterface * @return Role[] all roles directly adding to the role. The array is indexed by the role names. * First element is a Role item that are getting by $roleName. * @throws \yii\base\InvalidParamException if Role was not found that are getting by $roleName + * @since 2.0.10 */ public function getChildRoles($roleName); diff --git a/framework/widgets/DetailView.php b/framework/widgets/DetailView.php index 14e6b7c6f0..c7a407c6b6 100644 --- a/framework/widgets/DetailView.php +++ b/framework/widgets/DetailView.php @@ -92,6 +92,9 @@ class DetailView extends Widget * * where `$attribute` refer to the specification of the attribute being rendered, `$index` is the zero-based * index of the attribute in the [[attributes]] array, and `$widget` refers to this widget instance. + * + * Since Version 2.0.10, the tokens `{captionOptions}` and `{contentOptions}` are available, which will represent + * HTML attributes of HTML container elements for the label and value. */ public $template = '{label}{value}'; /**