Skip to content

Commit

Permalink
fixed typo in withErrors
Browse files Browse the repository at this point in the history
  • Loading branch information
fonograph committed Jan 29, 2014
1 parent b6633e6 commit e842a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Former/Former.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public function withErrors($validator = null)
if ($validator instanceof Validator) {
$this->errors = $validator->getMessageBag();

} else if ($validator instanceof MessagBag) {
} else if ($validator instanceof MessageBag) {
$this->errors = $validator;
}

Expand Down

0 comments on commit e842a87

Please sign in to comment.