@@ -19,7 +19,7 @@ |
||
| 19 | 19 | * transformation object. |
| 20 | 20 | * |
| 21 | 21 | * @param FormatterOptions $options Options that affect output formatting. |
| 22 | - * @return Consolidation\OutputFormatters\Transformations\TableTransformation |
|
| 22 | + * @return TableTransformation |
|
| 23 | 23 | */ |
| 24 | 24 | public function restructure(FormatterOptions $options) |
| 25 | 25 | { |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | * transformation object. |
| 18 | 18 | * |
| 19 | 19 | * @param FormatterOptions $options Options that affect output formatting. |
| 20 | - * @return Consolidation\OutputFormatters\Transformations\TableTransformation |
|
| 20 | + * @return \Consolidation\OutputFormatters\Transformations\TableTransformation |
|
| 21 | 21 | */ |
| 22 | 22 | public function restructure(FormatterOptions $options) |
| 23 | 23 | { |
@@ -34,6 +34,9 @@ |
||
| 34 | 34 | $this->addXmlChildren($dom, $element, $elementName, $structuredData); |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | + /** |
|
| 38 | + * @param \DOMElement $xmlParent |
|
| 39 | + */ |
|
| 37 | 40 | protected function addXmlChildren(\DOMDocument $dom, $xmlParent, $elementName, $structuredData) |
| 38 | 41 | { |
| 39 | 42 | foreach ($structuredData as $key => $value) { |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | - * @param ReflectionClass $dataType |
|
| 19 | + * @param \ReflectionClass $dataType |
|
| 20 | 20 | */ |
| 21 | 21 | public function canSimplify(\ReflectionClass $dataType) |
| 22 | 22 | { |
@@ -61,7 +61,6 @@ discard block |
||
| 61 | 61 | * Add a formatter |
| 62 | 62 | * |
| 63 | 63 | * @param string $key the identifier of the formatter to add |
| 64 | - * @param string $formatterClassname the class name of the formatter to add |
|
| 65 | 64 | * @return FormatterManager |
| 66 | 65 | */ |
| 67 | 66 | public function addFormatter($key, FormatterInterface $formatter) |
@@ -251,6 +250,7 @@ discard block |
||
| 251 | 250 | |
| 252 | 251 | /** |
| 253 | 252 | * Test to see if the stipulated format exists |
| 253 | + * @param string $format |
|
| 254 | 254 | */ |
| 255 | 255 | public function hasFormatter($format) |
| 256 | 256 | { |