From f6729f890e726b6eedd4dbb2ffeeedcd2ca0a174 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Sun, 19 Mar 2023 02:01:59 +0100 Subject: [PATCH] Fix type declaration --- app/Models/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/User.php b/app/Models/User.php index 79678db33..bfaa25f7c 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -400,7 +400,7 @@ class User extends Authenticatable * * @throws \Throwable */ - public static function getRange($start, $offset, $orderBy, string $userName = '', string $email = '', string $host = '', string $role = '', bool $apiRequests = false) + public static function getRange($start, $offset, $orderBy, string $userName = '', ?string $email = '', ?string $host = '', ?string $role = '', bool $apiRequests = false) { if ($apiRequests) { UserRequest::clearApiRequests(false);