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 5930af2 commit 74c6509Copy full SHA for 74c6509
1 file changed
tests/PHPStan/Analyser/data/bug-14207.php
@@ -31,6 +31,8 @@ public static function is_special( $tag_name ): bool {
31
: "{$tag_name->namespace} {$tag_name->node_name}";
32
}
33
34
+ assertType('non-falsy-string|uppercase-string', $tag_name);
35
+
36
$x = (
37
'ADDRESS' === $tag_name ||
38
'APPLET' === $tag_name ||
@@ -130,7 +132,7 @@ public static function is_special( $tag_name ): bool {
130
132
'svg TITLE' === $tag_name
131
133
);
134
- assertType('non-falsy-string|uppercase-string', $tag_name);
135
+ assertType('bool', $x);
136
137
return $x;
138
0 commit comments