Skip to content

Commit

Permalink
add __toString method (implement)
Browse files Browse the repository at this point in the history
  • Loading branch information
peter279k committed Jan 12, 2017
1 parent e4117d2 commit 4c84154
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Constraint/AbstractConstraintInstance.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@

class AbstractConstraintInstance extends AbstractConstraint
{
public function __toString()
{
return $this->prettyString;
}
}

0 comments on commit 4c84154

Please sign in to comment.