From 7d853213034dab59dc7f87938ac3b3bb9757d74c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 19 Sep 2018 16:34:38 +0200 Subject: [PATCH] fix documentation --- Export/ExportInterface.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Export/ExportInterface.php b/Export/ExportInterface.php index e1efa4c05..c260649d1 100644 --- a/Export/ExportInterface.php +++ b/Export/ExportInterface.php @@ -61,10 +61,12 @@ interface ExportInterface extends ExportElementInterface * what the user is allowed to see. (Do not show personal data the user * is not allowed to see). * + * The returned object should be an instance of QueryBuilder or NativeQuery. + * * @param array $requiredModifiers * @param array $acl an array where each row has a `center` key containing the Chill\MainBundle\Entity\Center, and `circles` keys containing the reachable circles. Example: `array( array('center' => $centerA, 'circles' => array($circleA, $circleB) ) )` * @param array $data the data from the form, if any - * @return QueryBuilder the query to execute. + * @return QueryBuilder|\Doctrine\ORM\NativeQuery the query to execute. */ public function initiateQuery(array $requiredModifiers, array $acl, array $data = array());