We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17a04cc commit 0317262Copy full SHA for 0317262
lib/internal/Magento/Framework/Config/Dom.php
@@ -403,7 +403,7 @@ public static function validateDomDocument(
403
* @return string
404
* @throws \InvalidArgumentException
405
*/
406
- private static function _renderErrorMessage(\LibXMLError $errorInfo, $format, $dom = null)
+ private static function _renderErrorMessage(\LibXMLError $errorInfo, string $format, \DOMDocument $dom = null): string
407
{
408
$result = $format;
409
foreach ($errorInfo as $field => $value) {
0 commit comments