diff --git a/Account/Account.php b/Account/Account.php index 4c106ac61..0e6b88f38 100644 --- a/Account/Account.php +++ b/Account/Account.php @@ -318,7 +318,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @since 1.0.0 */ - public function hasPermission(int $permission, ?int $unit = null, ?string $app = null, ?string $module = null, ?int $type = null, ?int $element = null, ?int $component = null) : bool + public function hasPermission(int $permission, int $unit = null, string $app = null, string $module = null, int $type = null, int $element = null, int $component = null) : bool { $app = $app !== null ? strtolower($app) : $app;