From 2035828e01225e9ea4f4614ad9c831caeff72dcf Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Wed, 13 Nov 2024 15:01:59 +0100 Subject: [PATCH] Fix phpstan --- src/Datagrid/ProxyQuery.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Datagrid/ProxyQuery.php b/src/Datagrid/ProxyQuery.php index 29616e5a5..5115aa3a5 100644 --- a/src/Datagrid/ProxyQuery.php +++ b/src/Datagrid/ProxyQuery.php @@ -72,10 +72,12 @@ * @method QueryBuilder addOrderBy($sort, $order = null) * @method QueryBuilder addCriteria(Criteria $criteria) * @method mixed getDQLPart($queryPartName) - * @method array getDQLParts() + * @method mixed[] getDQLParts() * @method QueryBuilder resetDQLParts($parts = null) * @method QueryBuilder resetDQLPart($part) * + * @phpstan-method ArrayCollection getParameters() + * * @phpstan-template-covariant T of object * @phpstan-implements ProxyQueryInterface */