Skip to content

Commit d80be3a

Browse files
committed
BC
1 parent a274af0 commit d80be3a

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/Type/Doctrine/Query/QueryResultDynamicReturnTypeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function getTypeFromMethodCall(
7272
return $this->getMethodReturnTypeForHydrationMode(
7373
$methodReflection,
7474
$hydrationMode,
75-
$queryResultType,
75+
$queryResultType
7676
);
7777
}
7878

tests/Type/Doctrine/Query/QueryResultTypeWalkerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function test(Type $expectedType, string $dql): void
5858

5959
self::assertSame(
6060
$expectedType->describe(VerbosityLevel::precise()),
61-
$type->describe(VerbosityLevel::precise()),
61+
$type->describe(VerbosityLevel::precise())
6262
);
6363
}
6464

@@ -330,7 +330,7 @@ public function getTestData(): array
330330
new ConstantIntegerType(2),
331331
TypeCombinator::union(
332332
new NullType(),
333-
new StringType(),
333+
new StringType()
334334
),
335335
],
336336
[

tests/Type/Doctrine/Query/data/QueryResult/Entities/Many.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ class Many
2626
*
2727
* @var int
2828
*/
29-
public int $intColumn;
29+
public $intColumn;
3030

3131
/**
3232
* @Column(type="string")
3333
*
3434
* @var string
3535
*/
36-
public string $stringColumn;
36+
public $stringColumn;
3737

3838
/**
3939
* @Column(type="string", nullable=true)

tests/Type/Doctrine/Query/data/QueryResult/base.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,19 @@ public function testReturnTypeOfQueryMethodsWithImplicitHydrationMode(EntityMana
4141

4242
assertType(
4343
'array<QueryResult\Entities\Many>',
44-
$query->getResult(),
44+
$query->getResult()
4545
);
4646
assertType(
4747
'mixed',
48-
$query->execute(),
48+
$query->execute()
4949
);
5050
assertType(
5151
'mixed',
52-
$query->executeIgnoreQueryCache(),
52+
$query->executeIgnoreQueryCache()
5353
);
5454
assertType(
5555
'mixed',
56-
$query->executeUsingQueryCache(),
56+
$query->executeUsingQueryCache()
5757
);
5858
assertType(
5959
'mixed',

0 commit comments

Comments
 (0)