Skip to content

Commit

Permalink
Better phpdocs and CS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
acasademont committed Jul 8, 2015
1 parent 309d472 commit 23acbf0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Currency.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,13 @@ public function equals(Currency $other)
return $this->code === $other->code;
}

public function __toString() {
/**
* Returns a string representation of the currency, namely its ISO code
*
* @return string
*/
public function __toString()
{
return $this->code;
}
}

0 comments on commit 23acbf0

Please sign in to comment.