Skip to content

Commit

Permalink
Fix problem caused by bridgework update
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtlambda committed Feb 28, 2015
1 parent 1b3805a commit 0c377b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fieldwork/core/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ public function __construct ($errorMsg)
*/
public abstract function isValid (Stateful $object);

function getObjectData ()
public function getObjectData ()
{
return parent::getObjectData() + [
return [
'error' => $this->errorMsg
];
}
Expand Down

0 comments on commit 0c377b0

Please sign in to comment.