diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-02-27 15:47:59 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-02-27 15:47:59 +0100 |
commit | 24b58a76831b5183c6daafef32a1a6e333afa877 (patch) | |
tree | 920e9df0b600fa11fbec0e7976673d30403cc961 /apps/provisioning_api/lib/Middleware | |
parent | 640db3d5fed6ca6d274d64842100fa7216ae1d67 (diff) | |
download | nextcloud-server-24b58a76831b5183c6daafef32a1a6e333afa877.tar.gz nextcloud-server-24b58a76831b5183c6daafef32a1a6e333afa877.zip |
Make the provisioning api app strict
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/provisioning_api/lib/Middleware')
-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; |