File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/internal/Magento/Framework/Config/Dom Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,12 +43,12 @@ public function getRealPath($schema)
43
43
$ package = $ componentRegistrar
44
44
->getPath (ComponentRegistrar::LIBRARY , $ matches ['vendor ' ] . '/ ' . $ matches ['framework ' ]);
45
45
} else {
46
- throw new NotFoundException (__ ("Unsupported format of schema location: '%1' " , $ schema ));
46
+ throw new NotFoundException (new Phrase ("Unsupported format of schema location: '%1' " , $ schema ));
47
47
}
48
48
$ schemaPath = $ package . '/ ' . $ matches ['path ' ];
49
49
if (empty ($ package ) || !file_exists ($ schemaPath )) {
50
50
throw new NotFoundException (
51
- __ ("Could not locate schema: '%1' at '%2' " , $ schema , $ schemaPath )
51
+ new Phrase ("Could not locate schema: '%1' at '%2' " , $ schema , $ schemaPath )
52
52
);
53
53
}
54
54
return $ schemaPath ;
You can’t perform that action at this time.
0 commit comments