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.
2 parents 4d96cd6 + 1c85032 commit 2a1a947Copy full SHA for 2a1a947
1 file changed
src/References.php
@@ -68,7 +68,10 @@ public function mergeWith(References $references): References
68
$merged = clone $this;
69
70
foreach ($references as $filename => $lines) {
71
- if (empty($lines)) {
+ //Set filename always to string
72
+ $filename = (string) $filename;
73
+
74
+ if (empty($lines)) {
75
$merged->add($filename);
76
continue;
77
}
0 commit comments