Skip to content

Commit e448f12

Browse files
norkunassoyuka
authored andcommitted
Add missing return typehints to QueryNameGenerator
This will help to reduce static analysis warnings for consumers in apps baseline
1 parent 5e0b7e2 commit e448f12

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Doctrine/Orm/Util/QueryNameGeneratorInterface.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,15 @@ interface QueryNameGeneratorInterface
2020
{
2121
/**
2222
* Generates a cacheable alias for DQL join.
23+
*
24+
* @return literal-string
2325
*/
2426
public function generateJoinAlias(string $association): string;
2527

2628
/**
2729
* Generates a cacheable parameter name for DQL query.
30+
*
31+
* @return literal-string
2832
*/
2933
public function generateParameterName(string $name): string;
3034
}

0 commit comments

Comments
 (0)