mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 01:38:41 +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 $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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user