     */
    public function verify(string $code, string $verifiable)
    {
        if ($this->isTestVerifiable($verifiable)) {
            return $this->isTestCode($code);
        }

        $codeIsValid = VerificationCode::query()
            ->for($verifiable)
            ->notExpired()
            ->cursor()
            ->contains(function ($verificationCode) use ($code) {