Skip to content

Commit

Permalink
Remove queryType
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Mar 18, 2024
1 parent 0a6d98d commit 598f40c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 51 deletions.
9 changes: 4 additions & 5 deletions tests/PHPStan/Type/UnionTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
use PHPStan\Type\Constant\ConstantFloatType;
use PHPStan\Type\Constant\ConstantIntegerType;
use PHPStan\Type\Constant\ConstantStringType;
use PHPStan\Type\data\QueryType;
use PHPStan\Type\Enum\EnumCaseObjectType;
use PHPStan\Type\Generic\GenericClassStringType;
use PHPStan\Type\Generic\GenericObjectType;
Expand Down Expand Up @@ -931,10 +930,10 @@ public function dataDescribe(): array
'(TFoo of TBar)|null',
],
[
new UnionType([new QueryType('foo'), new QueryType('bar')]),
'Doctrine\ORM\Query<mixed, mixed>#1|Doctrine\ORM\Query<mixed, mixed>#2',
'Doctrine\ORM\Query<mixed, mixed>',
'Doctrine\ORM\Query<mixed, mixed>',
new UnionType([new ObjectType('Foo'), new ObjectType('Foo')]),
'Foo#1|Foo#2',
'Foo',
'Foo',
],
];
}
Expand Down
46 changes: 0 additions & 46 deletions tests/PHPStan/Type/data/QueryType.php

This file was deleted.

0 comments on commit 598f40c

Please sign in to comment.