Skip to content

Commit 4ec743e

Browse files
authored
Fix error message
1 parent d533126 commit 4ec743e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Iterator/CommentReflectionSources.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function getIterator(): \Traversable
2828
$path = \stream_resolve_include_path($file->getPathname());
2929

3030
if ($path === false) {
31-
throw new \RuntimeException("Could not resolve path to a file to include: $path");
31+
throw new \RuntimeException("Could not resolve path to a file to include: {$file->getPathname()}");
3232
}
3333

3434
include_once $files[] = $path;

0 commit comments

Comments
 (0)