Skip to content

Commit e4cfd97

Browse files
authored
Merge pull request #88 from Pnoexz/declare-errors-attribute
Declare errors attribute in Validation
2 parents 76b4345 + f793f20 commit e4cfd97

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Validation.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ class Validation
3232
/** @var array */
3333
protected $invalidData = [];
3434

35+
/** @var ErrorBag */
36+
public $errors;
37+
3538
/**
3639
* Constructor
3740
*

0 commit comments

Comments
 (0)