@@ -21,11 +21,11 @@ |
||
21 | 21 | /** |
22 | 22 | * Set a user model for ProfileValidateComponent validation model. |
23 | 23 | * |
24 | - * @param Model $model |
|
24 | + * @param \yii\base\Model $model |
|
25 | 25 | * |
26 | 26 | * @throws InvalidConfigException |
27 | 27 | * |
28 | - * @return ModelInterface |
|
28 | + * @return \Itstructure\RbacModule\interfaces\ModelInterface |
|
29 | 29 | */ |
30 | 30 | public function setModel(Model $model): ModelInterface |
31 | 31 | { |
@@ -19,11 +19,11 @@ |
||
19 | 19 | /** |
20 | 20 | * Sets Rbac model. |
21 | 21 | * |
22 | - * @param Model $model |
|
22 | + * @param \yii\base\Model $model |
|
23 | 23 | * |
24 | 24 | * @throws InvalidConfigException |
25 | 25 | * |
26 | - * @return ModelInterface |
|
26 | + * @return \Itstructure\RbacModule\interfaces\ModelInterface |
|
27 | 27 | */ |
28 | 28 | public function setModel(Model $model): ModelInterface |
29 | 29 | { |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | /** |
194 | 194 | * Returns model. |
195 | 195 | * |
196 | - * @return ModelInterface |
|
196 | + * @return \Itstructure\RbacModule\interfaces\ModelInterface |
|
197 | 197 | */ |
198 | 198 | public function getModel(): ModelInterface |
199 | 199 | { |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | /** |
204 | 204 | * Returns search model. |
205 | 205 | * |
206 | - * @return Model |
|
206 | + * @return \yii\base\Model |
|
207 | 207 | */ |
208 | 208 | public function getSearchModel(): Model |
209 | 209 | { |
@@ -213,7 +213,7 @@ discard block |
||
213 | 213 | /** |
214 | 214 | * Get validate component for main model. |
215 | 215 | * |
216 | - * @return ValidateComponentInterface |
|
216 | + * @return \Itstructure\RbacModule\interfaces\ValidateComponentInterface |
|
217 | 217 | */ |
218 | 218 | public function getValidateComponent(): ValidateComponentInterface |
219 | 219 | { |
@@ -247,7 +247,7 @@ discard block |
||
247 | 247 | * |
248 | 248 | * @param int|string $id |
249 | 249 | * |
250 | - * @return mixed |
|
250 | + * @return string |
|
251 | 251 | */ |
252 | 252 | public function actionView($id) |
253 | 253 | { |
@@ -392,7 +392,7 @@ discard block |
||
392 | 392 | /** |
393 | 393 | * Returns new object of search main model. |
394 | 394 | * |
395 | - * @return RbacIdentityInterface|ModelInterface |
|
395 | + * @return \yii\base\Model |
|
396 | 396 | */ |
397 | 397 | protected function getNewSearchModel() |
398 | 398 | { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | /** |
63 | 63 | * List if attributes. |
64 | 64 | * |
65 | - * @return array |
|
65 | + * @return string[] |
|
66 | 66 | */ |
67 | 67 | public function attributes() |
68 | 68 | { |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | /** |
131 | 131 | * Returns profile (user) model. |
132 | 132 | * |
133 | - * @return RbacIdentityInterface |
|
133 | + * @return \Itstructure\RbacModule\interfaces\RbacIdentityInterface |
|
134 | 134 | */ |
135 | 135 | public function getProfileModel(): RbacIdentityInterface |
136 | 136 | { |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | /** |
141 | 141 | * Set auth manager. |
142 | 142 | * |
143 | - * @param ManagerInterface $authManager |
|
143 | + * @param \yii\rbac\ManagerInterface $authManager |
|
144 | 144 | */ |
145 | 145 | public function setAuthManager(ManagerInterface $authManager) |
146 | 146 | { |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | /** |
151 | 151 | * Get auth manager. |
152 | 152 | * |
153 | - * @return ManagerInterface |
|
153 | + * @return \yii\rbac\ManagerInterface |
|
154 | 154 | */ |
155 | 155 | public function getAuthManager(): ManagerInterface |
156 | 156 | { |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | * |
46 | 46 | * @param string $name |
47 | 47 | * |
48 | - * @return Item |
|
48 | + * @return \yii\rbac\Item |
|
49 | 49 | */ |
50 | 50 | abstract protected function createItem(string $name): Item; |
51 | 51 | |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | * |
56 | 56 | * @param string $name |
57 | 57 | * |
58 | - * @return Item |
|
58 | + * @return \yii\rbac\Item |
|
59 | 59 | */ |
60 | 60 | abstract protected function createChild(string $name): Item; |
61 | 61 | |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | /** |
77 | 77 | * Returns old name in current object, which is set before new value. |
78 | 78 | * |
79 | - * @return mixed |
|
79 | + * @return string |
|
80 | 80 | */ |
81 | 81 | abstract protected function getOldName(); |
82 | 82 | |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | * Set item (role or permission) for instance of Rbac. |
94 | 94 | * |
95 | 95 | * @param Rbac $instance |
96 | - * @param Item $item |
|
96 | + * @param \yii\rbac\Item $item |
|
97 | 97 | * |
98 | 98 | * @return Rbac |
99 | 99 | */ |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | /** |
179 | 179 | * Set auth manager. |
180 | 180 | * |
181 | - * @param ManagerInterface $authManager |
|
181 | + * @param \yii\rbac\ManagerInterface $authManager |
|
182 | 182 | * |
183 | 183 | * @return $this |
184 | 184 | */ |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | /** |
192 | 192 | * Get auth manager. |
193 | 193 | * |
194 | - * @return ManagerInterface |
|
194 | + * @return \yii\rbac\ManagerInterface |
|
195 | 195 | */ |
196 | 196 | public function getAuthManager(): ManagerInterface |
197 | 197 | { |
@@ -324,7 +324,7 @@ discard block |
||
324 | 324 | /** |
325 | 325 | * Function for creating record. |
326 | 326 | * |
327 | - * @param Item $item |
|
327 | + * @param \yii\rbac\Item $item |
|
328 | 328 | * |
329 | 329 | * @return bool |
330 | 330 | */ |
@@ -346,7 +346,7 @@ discard block |
||
346 | 346 | /** |
347 | 347 | * Function for updating record. |
348 | 348 | * |
349 | - * @param Item $item |
|
349 | + * @param \yii\rbac\Item $item |
|
350 | 350 | * |
351 | 351 | * @return bool |
352 | 352 | */ |