laravel-mobile-verification icon indicating copy to clipboard operation
laravel-mobile-verification copied to clipboard

Unhandled match case 'backoff'

Open ibnIrshad opened this issue 9 months ago • 1 comments

This error occurs at SendMobileVerificationNotificationQueueable.php: 13 right after registering the user.

See full stack trace here. I have no idea what caused it as it was working fine before. Regardless it seems there should be a match handling case for the "backoff" case, whatever that means. I can't fix it myself because I don't know what the backoff case is supposed to do.


class SendMobileVerificationNotificationQueueable extends AbstractMobileVerificationListener implements ShouldQueue
{
    public function __get(string $name): mixed
    {
        return match ($name) {
            'tries' => config('mobile_verifier.queue.tries'),
            'timeout' => config('mobile_verifier.queue.timeout'),
            'connection' => config('mobile_verifier.queue.connection'),
            'queue' => config('mobile_verifier.queue.queue'),
        };
    }
}

ibnIrshad avatar May 18 '24 16:05 ibnIrshad