diff options
Diffstat (limited to 'apps/provisioning_api/lib/Middleware/ProvisioningApiMiddleware.php')
-rw-r--r-- | apps/provisioning_api/lib/Middleware/ProvisioningApiMiddleware.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/provisioning_api/lib/Middleware/ProvisioningApiMiddleware.php b/apps/provisioning_api/lib/Middleware/ProvisioningApiMiddleware.php index 4c7f7a654c8..c882ec10279 100644 --- a/apps/provisioning_api/lib/Middleware/ProvisioningApiMiddleware.php +++ b/apps/provisioning_api/lib/Middleware/ProvisioningApiMiddleware.php @@ -1,4 +1,5 @@ <?php +declare(strict_types=1); /** * * @@ -51,8 +52,8 @@ class ProvisioningApiMiddleware extends Middleware { */ public function __construct( IControllerMethodReflector $reflector, - $isAdmin, - $isSubAdmin) { + bool $isAdmin, + bool $isSubAdmin) { $this->reflector = $reflector; $this->isAdmin = $isAdmin; $this->isSubAdmin = $isSubAdmin; |