@@ -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]); |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use OpenMindParser\Converters\Model\AbstractConverter; |
| 6 | 6 | use OpenMindParser\Models\Document; |
| 7 | 7 | use OpenMindParser\Models\Node; |
| 8 | -use OpenMindParser\Parser; |
|
| 9 | 8 | use \DOMDocument; |
| 10 | 9 | |
| 11 | 10 | /*A singleton to convert a document tree (object Document) in a HTML tree following few options.*/ |
@@ -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. |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use \DOMNode; |
| 6 | 6 | use \DOMElement; |
| 7 | 7 | use \DOMNamedNodeMap; |
| 8 | -use OpenMindParser\Exceptions\InvalidNodeNameException; |
|
| 9 | 8 | |
| 10 | 9 | /*Object that represent a Node as the tag element in the openMind file.*/ |
| 11 | 10 | class Node |
@@ -352,7 +352,6 @@ |
||
| 352 | 352 | /** |
| 353 | 353 | * Return the list of children of the current node. |
| 354 | 354 | * |
| 355 | - * @param NodeList $children : The list of children node. |
|
| 356 | 355 | */ |
| 357 | 356 | public function getChildren() { |
| 358 | 357 | 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 | */ |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use OpenMindParser\Converters\Model\AbstractConverter; |
| 6 | 6 | use OpenMindParser\Models\Document; |
| 7 | 7 | use OpenMindParser\Models\Node; |
| 8 | -use OpenMindParser\Parser; |
|
| 9 | 8 | use \DOMDocument; |
| 10 | 9 | |
| 11 | 10 | /*A singleton to convert a document tree (object Document) in a HTML tree following few options.*/ |