From 60086507dbac9a4b1218383ee5163c34573eb09f Mon Sep 17 00:00:00 2001 From: Evgeniy Tkachenko Date: Sat, 9 Jan 2016 00:05:10 +0300 Subject: [PATCH] Updated phpDoc to ManagerInterface::addChild() --- framework/rbac/ManagerInterface.php | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/rbac/ManagerInterface.php b/framework/rbac/ManagerInterface.php index 60aa192ea28..b04c763b9b5 100644 --- a/framework/rbac/ManagerInterface.php +++ b/framework/rbac/ManagerInterface.php @@ -132,6 +132,7 @@ public function getRules(); * Adds an item as a child of another item. * @param Item $parent * @param Item $child + * @return boolean whether the child successfully added * @throws \yii\base\Exception if the parent-child relationship already exists or if a loop has been detected. */ public function addChild($parent, $child);