Fix phone validation
This commit is contained in:
parent
4fe33b3d96
commit
54f92f844f
|
@ -8,7 +8,7 @@ use Illuminate\Support\Str;
|
||||||
class ValidPhoneInputRule implements Rule
|
class ValidPhoneInputRule implements Rule
|
||||||
{
|
{
|
||||||
|
|
||||||
public ?int $reason;
|
public ?int $reason = 0;
|
||||||
|
|
||||||
public function passes($attribute, $value)
|
public function passes($attribute, $value)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue