diff --git a/app/Models/User.php b/app/Models/User.php index 8e74e8e57..d50b40d0a 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -246,7 +246,7 @@ class User extends Authenticatable self::find($id)->delete(); } - public static function getCount($role = null, string $username = '', string $host = '', string $email = ''): int + public static function getCount(string|null $role = null, string|null $username = '', string|null $host = '', string|null $email = ''): int { $res = self::query()->where('email', '<>', 'sharing@nZEDb.com');