From 289b97f142f2231e28bf517c731af246fc3bac76 Mon Sep 17 00:00:00 2001 From: Asad Ali Date: Thu, 30 May 2024 10:23:16 +0500 Subject: [PATCH] fix(auth): enable repetitive validation for auth params --- src/Authentication/CoreAuth.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Authentication/CoreAuth.php b/src/Authentication/CoreAuth.php index c55acf1..611df43 100644 --- a/src/Authentication/CoreAuth.php +++ b/src/Authentication/CoreAuth.php @@ -31,9 +31,6 @@ public function __construct(...$parameters) */ public function validate(TypeValidatorInterface $validator): void { - if ($this->isValid) { - return; - } array_walk($this->parameters, function ($param) use ($validator): void { $param->validate($validator); });