Skip to content

Commit

Permalink
fix(auth): enable repetitive validation for auth params
Browse files Browse the repository at this point in the history
  • Loading branch information
asadali214 committed May 30, 2024
1 parent faea523 commit 289b97f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Authentication/CoreAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit 289b97f

Please sign in to comment.