We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9b8ddb commit 5b5916dCopy full SHA for 5b5916d
tests/Type/WebMozartAssert/data/collection.php
@@ -79,8 +79,7 @@ public function allNotSame(array $a): void
79
public function allSubclassOf(array $a, $b): void
80
{
81
Assert::allSubclassOf($a, self::class);
82
- // should array<PHPStan\Type\WebMozartAssert\CollectionTest>
83
- \PHPStan\Testing\assertType('array<*NEVER*>', $a);
+ \PHPStan\Testing\assertType('array<class-string<PHPStan\Type\WebMozartAssert\CollectionTest>|PHPStan\Type\WebMozartAssert\CollectionTest>', $a);
84
85
Assert::allSubclassOf($b, self::class);
86
\PHPStan\Testing\assertType('iterable<class-string<PHPStan\Type\WebMozartAssert\CollectionTest>|PHPStan\Type\WebMozartAssert\CollectionTest>', $b);
0 commit comments