Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
hhit
config-generator
Commits
604bc534
Commit
604bc534
authored
Mar 02, 2021
by
Hendrik Heneke
Browse files
Bugfix: Use string path for exception message.
parent
3a3ed154
Pipeline
#366
passed with stage
in 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/Generator/IO/FileReader.php
src/Generator/IO/FileReader.php
+1
-1
No files found.
src/Generator/IO/FileReader.php
View file @
604bc534
...
...
@@ -15,7 +15,7 @@ class FileReader
public
function
read
()
{
if
(
!
$this
->
file
->
exists
())
{
throw
new
\
RuntimeException
(
"File
{
$this
->
file
}
does not exist!"
);
throw
new
\
RuntimeException
(
"File
{
$this
->
file
->
asString
()
}
does not exist!"
);
}
return
file_get_contents
(
$this
->
file
->
asString
());
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment