From 197a6b76364d6187bbf0f6db909487ad7850e4a7 Mon Sep 17 00:00:00 2001 From: tonis ormisson Date: Wed, 10 Aug 2022 16:27:30 +0300 Subject: [PATCH] phpstan: unsafe static --- src/User/Event/ResetPasswordEvent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/User/Event/ResetPasswordEvent.php b/src/User/Event/ResetPasswordEvent.php index 188553d..4253a5a 100644 --- a/src/User/Event/ResetPasswordEvent.php +++ b/src/User/Event/ResetPasswordEvent.php @@ -19,7 +19,7 @@ use yii\base\Event; * @property-read Token $token * @property-read RecoveryForm $form */ -class ResetPasswordEvent extends Event +final class ResetPasswordEvent extends Event { const EVENT_BEFORE_TOKEN_VALIDATE = 'beforeTokenValidate'; const EVENT_AFTER_TOKEN_VALIDATE = 'afterTokenValidate';