From 81c7295a231080cd49edce54f500409b3bd9b26c Mon Sep 17 00:00:00 2001 From: Aryeh Raber Date: Tue, 18 Jun 2024 08:55:58 +0200 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7e14e64..74445eb 100644 --- a/README.md +++ b/README.md @@ -168,22 +168,22 @@ class MyCustomShouldVerify implements CustomShouldVerify } // bypass verification based on event form submission - if ($event instanceof FormSubmitted) { + if ($event instanceof \Statamic\Events\FormSubmitted) { // return $event->submission; } // bypass verification based on login event - if ($event instanceof Login) { + if ($event instanceof \Illuminate\Auth\Events\Login) { // return $event->user; } // bypass verification based on user registration event - if ($event instanceof UserRegistering) { + if ($event instanceof \Statamic\Events\UserRegistering) { // return $event->user; } // bypass verification based on entry saving event - if ($event instanceof EntrySaving) { + if ($event instanceof \Statamic\Events\EntrySaving) { // return $event->entry; } }