[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:
parent
8c3ba7dbf0
commit
d060a48cb4
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue