From 07b2244b50ce010d03aa192a0eb9b0c182fa7af6 Mon Sep 17 00:00:00 2001 From: Jesse Rushlow Date: Fri, 26 Apr 2024 06:41:13 -0400 Subject: [PATCH] make classes final --- src/Generator/ResetPasswordRandomGenerator.php | 4 +--- src/Generator/ResetPasswordTokenGenerator.php | 4 +--- src/Model/ResetPasswordTokenComponents.php | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/Generator/ResetPasswordRandomGenerator.php b/src/Generator/ResetPasswordRandomGenerator.php index 29421d07..cdddecc6 100644 --- a/src/Generator/ResetPasswordRandomGenerator.php +++ b/src/Generator/ResetPasswordRandomGenerator.php @@ -14,10 +14,8 @@ * @author Ryan Weaver * * @internal - * - * @final */ -class ResetPasswordRandomGenerator +final class ResetPasswordRandomGenerator { /** * Original credit to Laravel's Str::random() method. diff --git a/src/Generator/ResetPasswordTokenGenerator.php b/src/Generator/ResetPasswordTokenGenerator.php index d2b4dbfb..85b0a236 100644 --- a/src/Generator/ResetPasswordTokenGenerator.php +++ b/src/Generator/ResetPasswordTokenGenerator.php @@ -17,10 +17,8 @@ * @author Ryan Weaver * * @internal - * - * @final */ -class ResetPasswordTokenGenerator +final class ResetPasswordTokenGenerator { /** * @param string $signingKey Unique, random, cryptographically secure string diff --git a/src/Model/ResetPasswordTokenComponents.php b/src/Model/ResetPasswordTokenComponents.php index 97b2ef68..d3f14780 100644 --- a/src/Model/ResetPasswordTokenComponents.php +++ b/src/Model/ResetPasswordTokenComponents.php @@ -14,10 +14,8 @@ * @author Ryan Weaver * * @internal - * - * @final */ -class ResetPasswordTokenComponents +final class ResetPasswordTokenComponents { public function __construct( private string $selector,