Skip to content

Commit a1e47f3

Browse files
Merge branch '3.4' into 4.3
* 3.4: Fix inconsistent return points. Fix remaining tests
2 parents 266ceef + 657a4eb commit a1e47f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Loader/XmlFileLoader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ private function parseConfigs(\DOMElement $node, $path)
337337
private function parseDefaultsConfig(\DOMElement $element, $path)
338338
{
339339
if ($this->isElementValueNull($element)) {
340-
return;
340+
return null;
341341
}
342342

343343
// Check for existing element nodes in the default element. There can
@@ -374,7 +374,7 @@ private function parseDefaultsConfig(\DOMElement $element, $path)
374374
private function parseDefaultNode(\DOMElement $node, $path)
375375
{
376376
if ($this->isElementValueNull($node)) {
377-
return;
377+
return null;
378378
}
379379

380380
switch ($node->localName) {

0 commit comments

Comments
 (0)