Skip to content

Commit

Permalink
Add mixed type
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander M. Turek <me@derrabus.de>
  • Loading branch information
craigfrancis and derrabus committed Jul 18, 2022
1 parent ea12678 commit 7f8d337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/Query/Expr.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public function count($x)
*
* @return string
*/
public function countDistinct(...$x)
public function countDistinct(mixed ...$x)
{
return 'COUNT(DISTINCT ' . implode(', ', $x) . ')';
}
Expand Down

0 comments on commit 7f8d337

Please sign in to comment.