Skip to content

Commit

Permalink
Merge pull request #14 from sfadschm/fix-error-return-2
Browse files Browse the repository at this point in the history
Fix BaseHandler error handling.
  • Loading branch information
MGatner authored Nov 11, 2020
2 parents 0aa57b5 + 9daaea8 commit 9fc5b0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/BaseHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public function getErrors(): array
{
$tmpErrors = $this->errors;
$this->errors = [];
return $this->errors;

return $tmpErrors;
}
}

0 comments on commit 9fc5b0f

Please sign in to comment.