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 3c5b135 commit 901c9d9Copy full SHA for 901c9d9
1 file changed
src/Extractors/VueJs.php
@@ -141,6 +141,10 @@ private static function getTemplateAttributeFakeJs(array $options, DOMElement $d
141
{
142
$expressionsByLine = self::getVueAttributeExpressions($options['attributePrefixes'], $dom);
143
144
+ if (empty($expressionsByLine)) {
145
+ return '';
146
+ }
147
+
148
$maxLines = max(array_keys($expressionsByLine));
149
$fakeJs = '';
150
0 commit comments