@@ -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 | { |
@@ -10,7 +10,6 @@ discard block |
||
10 | 10 | use Consolidation\OutputFormatters\Formatters\RenderDataInterface; |
11 | 11 | use Consolidation\OutputFormatters\Options\FormatterOptions; |
12 | 12 | use Consolidation\OutputFormatters\Options\OverrideOptionsInterface; |
13 | -use Consolidation\OutputFormatters\StructuredData\MetadataInterface; |
|
14 | 13 | use Consolidation\OutputFormatters\StructuredData\RestructureInterface; |
15 | 14 | use Consolidation\OutputFormatters\Transformations\DomToArraySimplifier; |
16 | 15 | use Consolidation\OutputFormatters\Transformations\OverrideRestructureInterface; |
@@ -19,7 +18,6 @@ discard block |
||
19 | 18 | use Symfony\Component\Console\Input\InputOption; |
20 | 19 | use Symfony\Component\Console\Output\OutputInterface; |
21 | 20 | use Consolidation\OutputFormatters\StructuredData\OriginalDataInterface; |
22 | -use Consolidation\OutputFormatters\StructuredData\ListDataFromKeys; |
|
23 | 21 | use Consolidation\OutputFormatters\StructuredData\ConversionInterface; |
24 | 22 | use Consolidation\OutputFormatters\Formatters\ImplicitEolInterface; |
25 | 23 |