@@ -66,9 +66,9 @@ |
||
| 66 | 66 | } |
| 67 | 67 | if($this->isValue()) { |
| 68 | 68 | if($elementCollection->isEmpty()) { |
| 69 | - if (!is_null($foundInEl)) { |
|
| 70 | - return $elementCollection->put($elementName, trim($this->reader->value)); |
|
| 71 | - } |
|
| 69 | + if (!is_null($foundInEl)) { |
|
| 70 | + return $elementCollection->put($elementName, trim($this->reader->value)); |
|
| 71 | + } |
|
| 72 | 72 | |
| 73 | 73 | return trim($this->reader->value); |
| 74 | 74 | } else { |