From 54f92f844ff614851896d945c9730b5e200b76f7 Mon Sep 17 00:00:00 2001 From: Julien Nahum Date: Sun, 1 Oct 2023 09:43:14 +0200 Subject: [PATCH] Fix phone validation --- app/Rules/ValidPhoneInputRule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Rules/ValidPhoneInputRule.php b/app/Rules/ValidPhoneInputRule.php index fb563e2..4b50224 100644 --- a/app/Rules/ValidPhoneInputRule.php +++ b/app/Rules/ValidPhoneInputRule.php @@ -8,7 +8,7 @@ use Illuminate\Support\Str; class ValidPhoneInputRule implements Rule { - public ?int $reason; + public ?int $reason = 0; public function passes($attribute, $value) {