Skip to content

Commit a1bf680

Browse files
authored
Reset exceptions
1 parent 25d8bfe commit a1bf680

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/PersistRuleChain.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ public function exceptions() : array
3030

3131
public function __invoke(string $password) : bool
3232
{
33+
$this->exceptions = [];
34+
3335
foreach ($this->rules as $validate) {
3436
try {
3537
$validate($password);

0 commit comments

Comments
 (0)