From 23acbf0a2f4b0a4137650290a8cc9a26e070a173 Mon Sep 17 00:00:00 2001 From: Albert Casademont Date: Wed, 8 Jul 2015 11:56:44 +0200 Subject: [PATCH] Better phpdocs and CS fixes --- src/Currency.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Currency.php b/src/Currency.php index b3bcba9..622c578 100644 --- a/src/Currency.php +++ b/src/Currency.php @@ -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; } }