We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc2c73c commit 70cde21Copy full SHA for 70cde21
src/Validation/ResponseException/AbstractException.php
@@ -19,12 +19,18 @@ abstract class AbstractException extends Exception
19
protected $errorCollection;
20
21
/**
22
- * TODO: delete error, should be just an constructor.
23
- *
24
* @param ErrorCollection $errorCollection
25
*/
26
final public function setErrorCollection(ErrorCollection $errorCollection): void
27
{
28
$this->errorCollection = $errorCollection;
29
}
+
+ /**
30
+ * @return ErrorCollection|null
31
+ */
32
+ final public function getErrorCollection(): ?ErrorCollection
33
+ {
34
+ return $this->errorCollection;
35
+ }
36
0 commit comments