We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0173d00 commit 0b81201Copy full SHA for 0b81201
src/Twig/TokenParser/AbstractCSPParser.php
@@ -42,7 +42,7 @@ public function parse(Token $token): CSPNode
42
43
$sha = null;
44
if ($body instanceof TextNode) {
45
- assert(is_string($body->getAttribute('data')));
+ \assert(\is_string($body->getAttribute('data')));
46
$sha = $this->computeSha($body->getAttribute('data'));
47
}
48
0 commit comments