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 0a0f429 commit 6188f32Copy full SHA for 6188f32
src/Service/ServiceDefinitionFileException.php
@@ -7,14 +7,14 @@ final class ServiceDefinitionFileException extends \InvalidArgumentException
7
8
public static function notFound(string $file): self
9
{
10
- $message = sprintf('File "%s" does not exist', realpath($file));
+ $message = sprintf('File "%s" does not exist', $file);
11
12
return new self($message);
13
}
14
15
public static function parseError(string $file): self
16
17
- $message = sprintf('File "%s" could not be parsed correctly', realpath($file));
+ $message = sprintf('File "%s" could not be parsed correctly', $file);
18
19
20
0 commit comments