When getDomDoument() called twice, getStringDocument() called twice ?

can be ?
```
if (null === $this->domDocument) {
    if (null === ($stringDocument = $this->getStringDocument())) {
```