@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace Benrowe\Formatter; |
4 | 4 | |
5 | +use InvalidArgumentException; |
|
5 | 6 | use ReflectionClass; |
6 | 7 | use ReflectionMethod; |
7 | -use InvalidArgumentException; |
|
8 | 8 | |
9 | 9 | /** |
10 | 10 | * AbstractFormatterProvider |
@@ -169,7 +169,7 @@ |
||
169 | 169 | /** |
170 | 170 | * Get the current list of available formats |
171 | 171 | * |
172 | - * @return array |
|
172 | + * @return string[] |
|
173 | 173 | */ |
174 | 174 | public function formats() |
175 | 175 | { |
@@ -10,7 +10,7 @@ |
||
10 | 10 | * Display the value as currency |
11 | 11 | * |
12 | 12 | * @param mixed $value |
13 | - * @return string |
|
13 | + * @return double |
|
14 | 14 | */ |
15 | 15 | public function asCurrency($value) |
16 | 16 | { |