@@ -82,8 +82,8 @@ |
||
| 82 | 82 | |
| 83 | 83 | /** |
| 84 | 84 | * Set child. |
| 85 | - * @param string|Item $parent |
|
| 86 | - * @param string|Item $child |
|
| 85 | + * @param string $parent |
|
| 86 | + * @param string $child |
|
| 87 | 87 | * @return bool |
| 88 | 88 | */ |
| 89 | 89 | public function setChild($parent, $child) |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | namespace hipanel\rbac; |
| 13 | 13 | |
| 14 | 14 | use yii\base\InvalidParamException; |
| 15 | -use yii\rbac\Item; |
|
| 16 | 15 | use Yii; |
| 17 | 16 | |
| 18 | 17 | /** |