Skip to content

Commit f6ca59f

Browse files
authored
Update JsPhpize.php
1 parent 6ca4d78 commit f6ca59f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsPhpize/JsPhpize.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function compile($input, $filename = null)
5454

5555
$dependencies = $compiler->getDependencies();
5656
if ($this->getOption('catchDependencies')) {
57-
$this->dependencies = $dependencies;
57+
$this->dependencies = array_merge($this->dependencies, $dependencies);
5858
$dependencies = array();
5959
}
6060
$php = $compiler->compileDependencies($dependencies) . $php;

0 commit comments

Comments
 (0)