@@ -60,9 +60,9 @@ discard block  | 
                                                    ||
| 60 | 60 | }  | 
                                                        
| 61 | 61 | |
| 62 | 62 | /**  | 
                                                        
| 63 | - * @param $name  | 
                                                        |
| 63 | + * @param string $name  | 
                                                        |
| 64 | 64 | *  | 
                                                        
| 65 | - * @return null|\yii\rbac\Item|Permission  | 
                                                        |
| 65 | + * @return null|Permission  | 
                                                        |
| 66 | 66 | */  | 
                                                        
| 67 | 67 | public function getPermission($name)  | 
                                                        
| 68 | 68 |      { | 
                                                        
@@ -70,9 +70,9 @@ discard block  | 
                                                    ||
| 70 | 70 | }  | 
                                                        
| 71 | 71 | |
| 72 | 72 | /**  | 
                                                        
| 73 | - * @param $name  | 
                                                        |
| 73 | + * @param string $name  | 
                                                        |
| 74 | 74 | *  | 
                                                        
| 75 | - * @return null|\yii\rbac\Item|Role  | 
                                                        |
| 75 | + * @return null|Role  | 
                                                        |
| 76 | 76 | */  | 
                                                        
| 77 | 77 | public function getRole($name)  | 
                                                        
| 78 | 78 |      { | 
                                                        
@@ -127,7 +127,7 @@  | 
                                                    ||
| 127 | 127 | * @param $name  | 
                                                        
| 128 | 128 | *  | 
                                                        
| 129 | 129 | * @throws NotFoundHttpException  | 
                                                        
| 130 | - * @return mixed|null|\yii\rbac\Rule  | 
                                                        |
| 130 | + * @return \yii\rbac\Rule  | 
                                                        |
| 131 | 131 | */  | 
                                                        
| 132 | 132 | protected function findRule($name)  | 
                                                        
| 133 | 133 |      { | 
                                                        
@@ -14,7 +14,6 @@  | 
                                                    ||
| 14 | 14 | use Da\User\Traits\AuthManagerAwareTrait;  | 
                                                        
| 15 | 15 | use Da\User\Validator\RbacItemsValidator;  | 
                                                        
| 16 | 16 | use Da\User\Validator\RbacRuleExistsValidator;  | 
                                                        
| 17 | -use Da\User\Validator\RbacRuleValidator;  | 
                                                        |
| 18 | 17 | use Yii;  | 
                                                        
| 19 | 18 | use yii\base\Model;  | 
                                                        
| 20 | 19 | use yii\rbac\Item;  | 
                                                        
@@ -3,7 +3,6 @@  | 
                                                    ||
| 3 | 3 | use yii\grid\ActionColumn;  | 
                                                        
| 4 | 4 | use yii\grid\GridView;  | 
                                                        
| 5 | 5 | use yii\helpers\Url;  | 
                                                        
| 6 | -use yii\rbac\Rule;  | 
                                                        |
| 7 | 6 | |
| 8 | 7 | /**  | 
                                                        
| 9 | 8 | * @var $dataProvider \yii\data\ActiveDataProvider  |