@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | * Add a formatter |
72 | 72 | * |
73 | 73 | * @param string $key the identifier of the formatter to add |
74 | - * @param string $formatter the class name of the formatter to add |
|
74 | + * @param FormatterInterface $formatter the class name of the formatter to add |
|
75 | 75 | * @return FormatterManager |
76 | 76 | */ |
77 | 77 | public function addFormatter($key, FormatterInterface $formatter) |
@@ -284,6 +284,7 @@ discard block |
||
284 | 284 | |
285 | 285 | /** |
286 | 286 | * Test to see if the stipulated format exists |
287 | + * @param string $format |
|
287 | 288 | */ |
288 | 289 | public function hasFormatter($format) |
289 | 290 | { |