File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ public function create(): ServiceMap
26
26
27
27
$ fileContents = file_get_contents ($ this ->containerXml );
28
28
if ($ fileContents === false ) {
29
- throw new XmlContainerNotExistsException (sprintf ('Container %s does not exist or cannot be parsed ' , $ this ->containerXml ));
29
+ throw new XmlContainerNotExistsException (sprintf ('Container %s does not exist ' , $ this ->containerXml ));
30
30
}
31
31
32
32
$ xml = @simplexml_load_string ($ fileContents );
33
33
if ($ xml === false ) {
34
- throw new XmlContainerNotExistsException (sprintf ('Container %s does not exist or cannot be parsed ' , $ this ->containerXml ));
34
+ throw new XmlContainerNotExistsException (sprintf ('Container %s cannot be parsed ' , $ this ->containerXml ));
35
35
}
36
36
37
37
/** @var \PHPStan\Symfony\Service[] $services */
You can’t perform that action at this time.
0 commit comments