Add return type NO_CI

This commit is contained in:
Dennis Eichhorn 2021-04-22 16:45:29 +02:00 committed by GitHub
parent 2a07ba2f39
commit 12308efbed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)