1
0
Fork 0
mirror of synced 2025-04-01 12:26:11 +03:00

[2.0][DDC-249] Fixed issue that documentation refers QueryBuilder::select() supports array, but it was only restricted to strings.

This commit is contained in:
guilhermeblanco 2010-01-14 16:15:58 +00:00
parent 8c3ba7dbf0
commit d060a48cb4

View file

@ -82,7 +82,7 @@ class Expr
*/
public function select($select = null)
{
return new Expr\Select(func_get_args());
return new Expr\Select(is_array($select) ? $select : func_get_args());
}
/**