@@ -16,6 +16,9 @@ discard block |
||
| 16 | 16 | |
| 17 | 17 | protected $numericTagNamePrefix = 'numeric_'; |
| 18 | 18 | |
| 19 | + /** |
|
| 20 | + * @param string $xmlEncoding |
|
| 21 | + */ |
|
| 19 | 22 | public function __construct( |
| 20 | 23 | array $array, |
| 21 | 24 | $rootElement = '', |
@@ -210,6 +213,9 @@ discard block |
||
| 210 | 213 | } |
| 211 | 214 | } |
| 212 | 215 | |
| 216 | + /** |
|
| 217 | + * @param string $rootElement |
|
| 218 | + */ |
|
| 213 | 219 | protected function createRootElement($rootElement): DOMElement |
| 214 | 220 | { |
| 215 | 221 | if (is_string($rootElement)) { |
@@ -238,6 +244,9 @@ discard block |
||
| 238 | 244 | return preg_replace('/[\x00-\x09\x0B\x0C\x0E-\x1F\x7F]/', '', $value); |
| 239 | 245 | } |
| 240 | 246 | |
| 247 | + /** |
|
| 248 | + * @param string $docTypeStr |
|
| 249 | + */ |
|
| 241 | 250 | protected function createDocTypeElement($docTypeStr) |
| 242 | 251 | { |
| 243 | 252 | if (! empty($docTypeStr)) { |