We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3ed999 commit a590dcaCopy full SHA for a590dca
src/Twig/FeatureTagTokenParser.php
@@ -22,6 +22,8 @@ public function parse(Token $token): Node
22
$stream->expect(Token::NAME_TYPE, 'endfeature');
23
$stream->expect(Token::BLOCK_END_TYPE);
24
25
+ assert(is_string($featureName));
26
+
27
return new FeatureTagNode($featureName, $body, $token->getLine(), $this->getTag(), $this->extensionClass);
28
}
29
0 commit comments