Skip to content

Commit 3b6cdd2

Browse files
Try
1 parent 63d3529 commit 3b6cdd2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

stubs/ORM/AbstractQuery.stub

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use Doctrine\ORM\NoResultException;
99
/**
1010
* @template-covariant TKey The type of column used in indexBy
1111
* @template-covariant TResult The type of results returned by this query in HYDRATE_OBJECT mode
12-
* @template-covariant THydrationMode = AbstractQuery::HYDRATE_OBJECT The default hydration mode when none is provided
12+
* @template-covariant THydrationMode The default hydration mode when none is provided
1313
*/
1414
abstract class AbstractQuery
1515
{
@@ -89,7 +89,7 @@ abstract class AbstractQuery
8989
* @template TNewHydrationMode of string|AbstractQuery::HYDRATE_*
9090
* @param TNewHydrationMode $hydrationMode
9191
* @phpstan-self-out self<TKey, TResult, TNewHydrationMode>
92-
* @return self<TKey, TResult, TNewHydrationMode>
92+
* @return static<TKey, TResult, TNewHydrationMode>
9393
*/
9494
public function setHydrationMode($hydrationMode): static
9595
{

stubs/ORM/Query.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Doctrine\ORM;
55
/**
66
* @template-covariant TKey The type of column used in indexBy
77
* @template-covariant TResult The type of results returned by this query in HYDRATE_OBJECT mode
8-
* @template-covariant THydrationMode = AbstractQuery::HYDRATE_OBJECT The default hydration mode when none is provided
8+
* @template-covariant THydrationMode The default hydration mode when none is provided
99
*
1010
* @extends AbstractQuery<TKey, TResult, THydrationMode>
1111
*/

0 commit comments

Comments
 (0)