@@ -222,7 +222,7 @@ discard block |
||
| 222 | 222 | /** |
| 223 | 223 | * Creates a safe normalized name. |
| 224 | 224 | * |
| 225 | - * @param $className |
|
| 225 | + * @param string|null $className |
|
| 226 | 226 | * @param $argumentName |
| 227 | 227 | * |
| 228 | 228 | * @return string |
@@ -290,7 +290,7 @@ discard block |
||
| 290 | 290 | /** |
| 291 | 291 | * Sets service argument. |
| 292 | 292 | * |
| 293 | - * @param string|Definition $service |
|
| 293 | + * @param Definition $service |
|
| 294 | 294 | * @param mixed $parameter |
| 295 | 295 | * |
| 296 | 296 | * @throws RuntimeException |
@@ -356,7 +356,7 @@ discard block |
||
| 356 | 356 | /** |
| 357 | 357 | * Checks whether the service is shared and initialized |
| 358 | 358 | * |
| 359 | - * @param $serviceClass |
|
| 359 | + * @param string|null $serviceClass |
|
| 360 | 360 | * @throws RuntimeException |
| 361 | 361 | */ |
| 362 | 362 | private function checkSharedServiceClassState($serviceClass) |
@@ -17,12 +17,12 @@ |
||
| 17 | 17 | use WebHemi\Adapter\Http\ResponseInterface; |
| 18 | 18 | use WebHemi\Adapter\Http\ServerRequestInterface; |
| 19 | 19 | use WebHemi\Auth\Result; |
| 20 | +use WebHemi\Data\Coupler\UserGroupToPolicyCoupler; |
|
| 20 | 21 | use WebHemi\Data\Coupler\UserToGroupCoupler; |
| 21 | 22 | use WebHemi\Data\Coupler\UserToPolicyCoupler; |
| 22 | -use WebHemi\Data\Coupler\UserGroupToPolicyCoupler; |
|
| 23 | 23 | use WebHemi\Data\Entity\User\UserEntity; |
| 24 | -use WebHemi\Middleware\MiddlewareInterface; |
|
| 25 | 24 | use WebHemi\Middleware\Action; |
| 25 | +use WebHemi\Middleware\MiddlewareInterface; |
|
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | 28 | * Class AclMiddleware. |