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 acf4c39 commit 6faad63Copy full SHA for 6faad63
src/JsPhpize/JsPhpizePhug.php
@@ -45,10 +45,9 @@ public function __construct(ModuleContainerInterface $container)
45
//Apply options from container
46
$this->setOptionsRecursive($compiler->getOption(['module_options', 'jsphpize']));
47
48
- $formatter = $compiler->getFormatter();
49
- $formatter->setOptionsRecursive([
+ $compiler->setOptionsRecursive([
50
'patterns' => [
51
- 'transform_expression' => function ($jsCode) use ($compiler, $formatter) {
+ 'transform_expression' => function ($jsCode) use ($compiler) {
52
53
/** @var JsPhpize $jsPhpize */
54
$jsPhpize = $compiler->getOption('jsphpize_engine');
0 commit comments