Skip to content

Commit da1ecef

Browse files
committed
fix return type
grabFromRepository returns the result of `getSingleScalarResult`, which according to the documentation returns `mixed`: https://www.doctrine-project.org/api/orm/2.6/Doctrine/ORM/Query.html#method_getSingleScalarResult
1 parent 7dc7db7 commit da1ecef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Module/Doctrine2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ protected function proceedSeeInRepository($entity, $params = [])
880880
* @param $entity
881881
* @param $field
882882
* @param array $params
883-
* @return array
883+
* @return mixed
884884
*/
885885
public function grabFromRepository($entity, $field, $params = [])
886886
{

0 commit comments

Comments
 (0)