We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd3a16e commit ce03e9eCopy full SHA for ce03e9e
1 file changed
tests/RuntimeTest.php
@@ -192,11 +192,9 @@ private static function testBasicTypes(): void
192
assert(!TypeValidator::isType([], 'object'));
193
assert(TypeValidator::isType(new \stdClass(), '\stdClass'));
194
assert(TypeValidator::isType(new self(), 'RuntimeTest'));
195
- assert(TypeValidator::isType(new PHPStanTest(), 'PHPStanTest'));
196
197
// object with is_type() global function
198
assert(is_type(new self(), 'RuntimeTest'));
199
- assert(is_type(new PHPStanTest(), 'PHPStanTest'));
200
201
// mixed / non-empty-mixed
202
assert(TypeValidator::isType('a', 'mixed'));
0 commit comments