@@ -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. |
@@ -363,11 +363,9 @@ |
||
| 363 | 363 | $newValue[] = $node->toArray(); |
| 364 | 364 | } |
| 365 | 365 | $value = $newValue; |
| 366 | - } |
|
| 367 | - elseif($value instanceof Icon) { |
|
| 366 | + } elseif($value instanceof Icon) { |
|
| 368 | 367 | $value = $value->getFilePath(); |
| 369 | - } |
|
| 370 | - elseif($value instanceof DOMElement) { |
|
| 368 | + } elseif($value instanceof DOMElement) { |
|
| 371 | 369 | return; |
| 372 | 370 | } |
| 373 | 371 | $array[$key] = $value; |