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 4d96cd6 commit 5b51b56Copy full SHA for 5b51b56
1 file changed
src/References.php
@@ -69,6 +69,11 @@ public function mergeWith(References $references): References
69
70
foreach ($references as $filename => $lines) {
71
if (empty($lines)) {
72
+ //Check the $filename type
73
+ if(gettype($filename) == "integer")
74
+ //Set string
75
+ $filename = strval($filename);
76
+
77
$merged->add($filename);
78
continue;
79
}
0 commit comments