summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/lib/Middleware
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-02-27 15:47:59 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-02-27 15:47:59 +0100
commit24b58a76831b5183c6daafef32a1a6e333afa877 (patch)
tree920e9df0b600fa11fbec0e7976673d30403cc961 /apps/provisioning_api/lib/Middleware
parent640db3d5fed6ca6d274d64842100fa7216ae1d67 (diff)
downloadnextcloud-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.php5
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;