Commit c9c59bdc by Ivan Pomortsev

Update Query.php

Using short array syntax.
parent dd79325a
...@@ -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)
{ {
$this->union[] = array( 'query' => $sql, 'all' => $all ); $this->union[] = [ 'query' => $sql, 'all' => $all ];
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