Commit d060a48c authored by guilhermeblanco's avatar guilhermeblanco

[2.0][DDC-249] Fixed issue that documentation refers QueryBuilder::select()...

[2.0][DDC-249] Fixed issue that documentation refers QueryBuilder::select() supports array, but it was only restricted to strings.
parent 8c3ba7db
...@@ -82,7 +82,7 @@ class Expr ...@@ -82,7 +82,7 @@ class Expr
*/ */
public function select($select = null) public function select($select = null)
{ {
return new Expr\Select(func_get_args()); return new Expr\Select(is_array($select) ? $select : func_get_args());
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment