Skip to content

Commit

Permalink
A clean Entity doesn't have errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLuckers committed Jul 4, 2018
1 parent b21c5f3 commit f620cad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Datasource/EntityTrait.php
Expand Up @@ -865,6 +865,7 @@ public function clean()
{
$this->_dirty = [];
$this->_errors = [];
$this->_hasErrors = false;
$this->_invalid = [];
$this->_original = [];
}
Expand Down

0 comments on commit f620cad

Please sign in to comment.