Skip to content

Commit 0317262

Browse files
Update lib/internal/Magento/Framework/Config/Dom.php
Co-authored-by: Ihor Sviziev <[email protected]>
1 parent 17a04cc commit 0317262

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/Config

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Config/Dom.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ public static function validateDomDocument(
403403
* @return string
404404
* @throws \InvalidArgumentException
405405
*/
406-
private static function _renderErrorMessage(\LibXMLError $errorInfo, $format, $dom = null)
406+
private static function _renderErrorMessage(\LibXMLError $errorInfo, string $format, \DOMDocument $dom = null): string
407407
{
408408
$result = $format;
409409
foreach ($errorInfo as $field => $value) {

0 commit comments

Comments
 (0)