@@ -276,13 +276,13 @@ |
||
276 | 276 | |
277 | 277 | |
278 | 278 | /** |
279 | - * Converts mixed data to XML |
|
280 | - * |
|
281 | - * @param mixed $data |
|
282 | - * @param SimpleXMLElement $xml |
|
283 | - * @param string $child_name |
|
284 | - * @return string |
|
285 | - */ |
|
279 | + * Converts mixed data to XML |
|
280 | + * |
|
281 | + * @param mixed $data |
|
282 | + * @param SimpleXMLElement $xml |
|
283 | + * @param string $child_name |
|
284 | + * @return string |
|
285 | + */ |
|
286 | 286 | public function toXML($data, Config $xml, string $child_name): string |
287 | 287 | { |
288 | 288 | if (is_array($data)) { |
@@ -209,7 +209,7 @@ |
||
209 | 209 | } |
210 | 210 | } else { |
211 | 211 | $this->logger->debug('requested path ['.$this->path.'] does not match route ['.$route->getPath().']', [ |
212 | - 'category' => get_class($this), |
|
212 | + 'category' => get_class($this), |
|
213 | 213 | ]); |
214 | 214 | } |
215 | 215 | } |
@@ -108,7 +108,7 @@ |
||
108 | 108 | if (!isset($simplexml_to->{$simplexml_child->getName()})) { |
109 | 109 | $simplexml_to->addChild($simplexml_child->getName(), htmlspecialchars((string)$simplexml_child)); |
110 | 110 | } elseif($replace === true && count($simplexml_to->{$simplexml_child->getName()}->children()) === 0) { |
111 | - $simplexml_to->{$simplexml_child->getName()} = htmlspecialchars((string)$simplexml_child); |
|
111 | + $simplexml_to->{$simplexml_child->getName()} = htmlspecialchars((string)$simplexml_child); |
|
112 | 112 | } |
113 | 113 | } else { |
114 | 114 | $this->appendSimplexml($simplexml_to->{$simplexml_child->getName()}, $simplexml_child, $replace); |
@@ -165,7 +165,7 @@ |
||
165 | 165 | foreach ($this->adapter as $adapter) { |
166 | 166 | $prio = $adapter->getLevel(); |
167 | 167 | |
168 | - if (self::PRIORITIES[$level] <= $prio) { |
|
168 | + if (self::PRIORITIES[$level] <= $prio) { |
|
169 | 169 | $msg = $this->_format($message, $adapter->getFormat(), $adapter->getDateFormat(), $level, $context); |
170 | 170 | $adapter->log($level, $msg); |
171 | 171 | } |