Skip to content

Commit cb37e28

Browse files
committed
Fix CS
1 parent 6fe9e9d commit cb37e28

File tree

5 files changed

+1
-5
lines changed

5 files changed

+1
-5
lines changed

src/Doctrine/DoctrineDiagnoseExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function print(Output $output): void
4242

4343
$output->writeLineFormatted(sprintf(
4444
'<info>Detected driver:</info> %s',
45-
$driver === null ? 'None' : $driver,
45+
$driver ?? 'None',
4646
));
4747
}
4848

src/Type/Doctrine/Query/QueryResultTypeBuilder.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ private function resolveOffsetType($alias): Type
236236
return new ConstantStringType($alias);
237237
}
238238

239-
240239
public function setIndexedBy(Type $type): void
241240
{
242241
$this->indexedBy = $type;

src/Type/Doctrine/Query/QueryResultTypeWalker.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ class QueryResultTypeWalker extends SqlWalker
129129

130130
private bool $hasGroupByClause;
131131

132-
133132
/**
134133
* @param Query<mixed> $query
135134
*/

tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4940,7 +4940,6 @@ public static function dataAllIntLike(): array
49404940
];
49414941
}
49424942

4943-
49444943
/**
49454944
* @return array<array<string, mixed>>
49464945
*/

tests/Type/Doctrine/Query/QueryResultTypeWalkerHydrationModeTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,6 @@ private function getRealHydrationMode(string $methodName, ?int $hydrationMode):
399399
throw new LogicException(sprintf('Using %s without hydration mode is not supported.', $methodName));
400400
}
401401

402-
403402
private static function stringifies(): bool
404403
{
405404
return PHP_VERSION_ID < 80100;

0 commit comments

Comments
 (0)