Skip to content

Commit 171f1cd

Browse files
committed
Add Validation::getDebugCollector method
1 parent 37696cc commit 171f1cd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Validation.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,4 +665,9 @@ public function setDebugCollector(ValidationCollector $debugCollector) : static
665665
$this->debugCollector->setValidation($this);
666666
return $this;
667667
}
668+
669+
public function getDebugCollector() : ValidationCollector | null
670+
{
671+
return $this->debugCollector ?? null;
672+
}
668673
}

0 commit comments

Comments
 (0)