From 12308efbedc8e6fd8c530be95e186cf786407b84 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 22 Apr 2021 16:45:29 +0200 Subject: [PATCH] Add return type NO_CI --- Account/PermissionAbstract.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Account/PermissionAbstract.php b/Account/PermissionAbstract.php index 852fdd5ee..cd376fee4 100644 --- a/Account/PermissionAbstract.php +++ b/Account/PermissionAbstract.php @@ -406,7 +406,7 @@ class PermissionAbstract implements \JsonSerializable int $type = null, int $element = null, int $component = null - ) { + ) : bool { return $permission === PermissionType::NONE || (($unit === null || $this->unit === null || $this->unit === $unit) && ($app === null || $this->app === null || $this->app === $app)