phone)) { $fail(__('Could not parse phone number')); return; } $verification = Verification::where('username', $this->phone) ->where('code', $value) ->first(); if (! $verification) { $fail(__('Write a correct data please')); } } }