@@ -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 | { |
@@ -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 | { |
@@ -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 | { |
@@ -123,6 +123,7 @@ |
||
| 123 | 123 | |
| 124 | 124 | /** |
| 125 | 125 | * Add our custom table style(s) to the table. |
| 126 | + * @param Table $table |
|
| 126 | 127 | */ |
| 127 | 128 | protected static function addCustomTableStyles($table) |
| 128 | 129 | { |
@@ -34,6 +34,9 @@ discard block |
||
| 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) { |
@@ -52,6 +55,9 @@ discard block |
||
| 52 | 55 | $this->addXmlData($dom, $xmlParent, $elementName, $value); |
| 53 | 56 | } |
| 54 | 57 | |
| 58 | + /** |
|
| 59 | + * @param string $childElementName |
|
| 60 | + */ |
|
| 55 | 61 | protected function determineElementName($key, $childElementName, $value) |
| 56 | 62 | { |
| 57 | 63 | if (is_numeric($key)) { |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | * transformation object. First, though, remove any metadata items. |
| 22 | 22 | * |
| 23 | 23 | * @param FormatterOptions $options Options that affect output formatting. |
| 24 | - * @return Consolidation\OutputFormatters\Transformations\TableTransformation |
|
| 24 | + * @return \Consolidation\OutputFormatters\Transformations\TableTransformation |
|
| 25 | 25 | */ |
| 26 | 26 | public function restructure(FormatterOptions $options) |
| 27 | 27 | { |
@@ -59,6 +59,7 @@ discard block |
||
| 59 | 59 | |
| 60 | 60 | /** |
| 61 | 61 | * Right-justify the cell data. |
| 62 | + * @param string $key |
|
| 62 | 63 | */ |
| 63 | 64 | protected function justifyCellData($key, $cellData) |
| 64 | 65 | { |
@@ -76,6 +77,7 @@ discard block |
||
| 76 | 77 | |
| 77 | 78 | /** |
| 78 | 79 | * Determine if this is a column that should be formatted. |
| 80 | + * @param string $key |
|
| 79 | 81 | */ |
| 80 | 82 | protected function isRenderedColumn($key) |
| 81 | 83 | { |
@@ -102,6 +104,7 @@ discard block |
||
| 102 | 104 | * This formatter only works with columns whose columns are strings. |
| 103 | 105 | * To use this formatter for another purpose, override this method |
| 104 | 106 | * to ensure that the cell data is a string before it is formatted. |
| 107 | + * @return double |
|
| 105 | 108 | */ |
| 106 | 109 | protected function convertCellDataToString($cellData) |
| 107 | 110 | { |
@@ -110,6 +113,7 @@ discard block |
||
| 110 | 113 | |
| 111 | 114 | /** |
| 112 | 115 | * Get the cached column width for the provided key. |
| 116 | + * @return integer |
|
| 113 | 117 | */ |
| 114 | 118 | protected function columnWidth($key) |
| 115 | 119 | { |