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 fe9837d commit 5690d78Copy full SHA for 5690d78
TwigCS/Sniff/AbstractSniff.php
@@ -77,8 +77,7 @@ public function getReport()
77
*/
78
public function isTokenMatching(Token $token, $type, $value = null)
79
{
80
- return $token->getType() === $type
81
- && (null === $value || (null !== $value && $token->getValue() === $value));
+ return $token->getType() === $type && (null === $value || $token->getValue() === $value);
82
}
83
84
/**
0 commit comments