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 2659130 commit b1c847eCopy full SHA for b1c847e
tests/PHPStan/Analyser/nsrt/implode.php
@@ -51,4 +51,9 @@ public function constArrays5($constArr) {
51
public function constArrays6($constArr) {
52
assertType("string", implode('', $constArr));
53
}
54
+
55
+ /** @param array{10: 1|2|bool, xy: 'a'|'b'|'c'} $constArr */
56
+ public function constArrays7($constArr) {
57
+ assertType("'1a'|'1b'|'1c'|'2a'|'2b'|'2c'|'a'|'b'|'c'", implode('', $constArr));
58
+ }
59
0 commit comments