Skip to content

Commit 690c724

Browse files
committed
Fix NS
1 parent 577d95a commit 690c724

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Diff for: tests/Type/Doctrine/Query/QueryResultTypeWalkerHydrationModeTest.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php declare(strict_types = 1);
22

3-
namespace Type\Doctrine\Query;
3+
namespace PHPStan\Type\Doctrine\Query;
44

55
use Doctrine\DBAL\Types\Type as DbalType;
66
use Doctrine\ORM\EntityManagerInterface;
@@ -18,8 +18,6 @@
1818
use PHPStan\Type\ConstantTypeHelper;
1919
use PHPStan\Type\Doctrine\DescriptorRegistry;
2020
use PHPStan\Type\Doctrine\HydrationModeReturnTypeResolver;
21-
use PHPStan\Type\Doctrine\Query\QueryResultTypeBuilder;
22-
use PHPStan\Type\Doctrine\Query\QueryResultTypeWalker;
2321
use PHPStan\Type\FloatType;
2422
use PHPStan\Type\IntegerType;
2523
use PHPStan\Type\IntersectionType;
@@ -103,7 +101,7 @@ public function test(Type $expectedType, string $dql, string $methodName, int $h
103101
);
104102

105103
$query = $entityManager->createQuery($dql);
106-
$result = $query->$methodName($hydrationMode); // TODO should be improved
104+
$result = $query->$methodName($hydrationMode); // @phpstan-ignore-line TODO should be improved
107105
self::assertGreaterThan(0, count($result));
108106

109107
$resultType = ConstantTypeHelper::getTypeFromValue($result);

0 commit comments

Comments
 (0)