mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 05:58:42 +00:00
Add return type NO_CI
This commit is contained in:
parent
2a07ba2f39
commit
12308efbed
|
|
@ -406,7 +406,7 @@ class PermissionAbstract implements \JsonSerializable
|
||||||
int $type = null,
|
int $type = null,
|
||||||
int $element = null,
|
int $element = null,
|
||||||
int $component = null
|
int $component = null
|
||||||
) {
|
) : bool {
|
||||||
return $permission === PermissionType::NONE ||
|
return $permission === PermissionType::NONE ||
|
||||||
(($unit === null || $this->unit === null || $this->unit === $unit)
|
(($unit === null || $this->unit === null || $this->unit === $unit)
|
||||||
&& ($app === null || $this->app === null || $this->app === $app)
|
&& ($app === null || $this->app === null || $this->app === $app)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user