Skip to content

Commit c4f2492

Browse files
authored
Update ValidationResult.php
1 parent 7f27342 commit c4f2492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Validation/ValidationResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function setCode(string $code)
101101
*/
102102
public function isSuccess(): bool
103103
{
104-
return empty($this->errors) && $this->message === null && $this->code === null;
104+
return empty($this->errors);
105105
}
106106

107107
/**

0 commit comments

Comments
 (0)