Skip to content

Commit

Permalink
Add Validation::getDebugCollector method
Browse files Browse the repository at this point in the history
  • Loading branch information
natanfelles committed Feb 20, 2023
1 parent 37696cc commit 171f1cd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -665,4 +665,9 @@ public function setDebugCollector(ValidationCollector $debugCollector) : static
$this->debugCollector->setValidation($this);
return $this;
}

public function getDebugCollector() : ValidationCollector | null
{
return $this->debugCollector ?? null;
}
}

0 comments on commit 171f1cd

Please sign in to comment.