@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | */ |
143 | 143 | protected function openLogfile() : void |
144 | 144 | { |
145 | - if (!$this->xmlDoc || !$this->xmlRoot) { |
|
145 | + if (!$this->xmlDoc || !$this->xmlRoot) { |
|
146 | 146 | $strFullPath = $this->getFullpath(); |
147 | 147 | if (!file_exists($strFullPath)) { |
148 | 148 | $this->createLogfile(); |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | * @param \DOMElement $oParent |
198 | 198 | * @return \DOMElement |
199 | 199 | */ |
200 | - public function addChildToDoc(string $strName, string $strValue='', \DOMElement $oParent=null) : ?\DOMElement |
|
200 | + public function addChildToDoc(string $strName, string $strValue = '', \DOMElement $oParent = null) : ?\DOMElement |
|
201 | 201 | { |
202 | 202 | $oChild = null; |
203 | 203 | if ($this->xmlDoc) { |