Commit 8109708b by Ivan Pomortsev

Update Query.php

Forget one ";" :D
parent 5d3fd930
...@@ -640,7 +640,7 @@ class Query extends Component implements QueryInterface ...@@ -640,7 +640,7 @@ class Query extends Component implements QueryInterface
*/ */
public function union($sql, $all = false) public function union($sql, $all = false)
{ {
$sql->addParams([ 'all' => $all ]) $sql->addParams([ 'all' => $all ]);
$this->union[] = $sql; $this->union[] = $sql;
return $this; return $this;
} }
......
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