@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | * 'icon' => boolean determining if the icons must be displayed or not, |
| 71 | 71 | * ]. The first two are mandatory. |
| 72 | 72 | * |
| 73 | - * @return DOMDocument $domDocument : The DOMDocument instance created with the HTML. |
|
| 73 | + * @return \DOMElement $domDocument : The DOMDocument instance created with the HTML. |
|
| 74 | 74 | */ |
| 75 | 75 | private function buildHTMLTreeFromNode(DOMDocument $document, Node $node, array $options) { |
| 76 | 76 | $domElementA = $this->buildElement($document, $options[HTML_CONVERTER_MAIN_TAG_KEY][0]); |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | * @param DOMDocument $document : The current DOMDocument in creation with the HTML tree. |
| 118 | 118 | * @param array $description : The array describing the tag to create. |
| 119 | 119 | * |
| 120 | - * @return DOMElement $domElement : The created DOMElement. |
|
| 120 | + * @return \DOMElement $domElement : The created DOMElement. |
|
| 121 | 121 | */ |
| 122 | 122 | private function buildElement(DOMDocument $document, array $description) { |
| 123 | 123 | $domElement = $document->createElement($description[HTML_CONVERTER_TAG_KEY]); |
@@ -38,7 +38,6 @@ |
||
| 38 | 38 | /** |
| 39 | 39 | * Abstract class to actually perform the conversion from the Document instance passed in parameter. |
| 40 | 40 | * |
| 41 | - * @param mixed $data : The data to convert. Here : a string as the file path or the Document instance. |
|
| 42 | 41 | * @param array $options : An array of options for the conversion. |
| 43 | 42 | * |
| 44 | 43 | * @return mixed : The result of the conversion. |
@@ -208,7 +208,7 @@ discard block |
||
| 208 | 208 | /** |
| 209 | 209 | * Return if the current node is folded or not. |
| 210 | 210 | * |
| 211 | - * @return Bool $folded |
|
| 211 | + * @return string $folded |
|
| 212 | 212 | */ |
| 213 | 213 | public function isFolded() { |
| 214 | 214 | return $this->folded; |
@@ -307,7 +307,6 @@ discard block |
||
| 307 | 307 | /** |
| 308 | 308 | * Return the list of children of the current node. |
| 309 | 309 | * |
| 310 | - * @param NodeList $children : The list of children node. |
|
| 311 | 310 | */ |
| 312 | 311 | public function getChildren() { |
| 313 | 312 | return $this->children; |
@@ -118,7 +118,7 @@ |
||
| 118 | 118 | /** |
| 119 | 119 | * For each attribute whom the name is the keys of $availableAttributes, its value will be put in the matching attribute. |
| 120 | 120 | * |
| 121 | - * @param DOMNamedNodeMap $nodeAttributes : The list of attributes of the current node to fill the Node object. |
|
| 121 | + * @param DOMNamedNodeMap $nodeAtributes : The list of attributes of the current node to fill the Node object. |
|
| 122 | 122 | * @param array $availableAttributes : One of the static array of this class to describe the list of known attributes. |
| 123 | 123 | * @param Node $node : The Node object to fill in. |
| 124 | 124 | */ |