Skip to content

Commit

Permalink
fix(auth): enable repetitive validation for auth params (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
asadali214 authored May 30, 2024
1 parent faea523 commit 8c11179
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 8c11179

Please sign in to comment.