File tree 1 file changed +1
-5
lines changed
1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -49,9 +49,7 @@ public function __construct(ModuleContainerInterface $container)
49
49
$ compiler ->setOptionsRecursive ([
50
50
'patterns ' => [
51
51
'transform_expression ' => function ($ jsCode ) use ($ compiler ) {
52
-
53
52
$ jsPhpize = $ this ->getJsPhpizeEngine ($ compiler );
54
-
55
53
$ compilation = $ this ->compile ($ jsPhpize , $ jsCode , $ compiler ->getPath ());
56
54
57
55
if (!($ compilation instanceof Exception)) {
@@ -106,9 +104,7 @@ public function getEventListeners()
106
104
return [
107
105
CompilerEvent::OUTPUT => function (Compiler \Event \OutputEvent $ event ) {
108
106
$ compiler = $ event ->getTarget ();
109
-
110
- /** @var JsPhpize $jsPhpize */
111
- $ jsPhpize = $ compiler ->getOption ('jsphpize_engine ' );
107
+ $ jsPhpize = $ this ->getJsPhpizeEngine ($ compiler );
112
108
$ output = preg_replace (
113
109
'/\{\s*\?><\?(?:php)?\s*\}/ ' ,
114
110
'{} ' ,
You can’t perform that action at this time.
0 commit comments