File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 3838use SQLParser \Query \Select ;
3939use Mouf \MoufInstanceDescriptor ;
4040use Mouf \MoufManager ;
41+ use SQLParser \Query \Union ;
4142
4243/**
4344 * This class represents a subquery (and optionally a JOIN .. ON expression in an SQL expression.
@@ -51,7 +52,7 @@ class SubQuery implements NodeInterface
5152 /**
5253 * Returns the list of subQuery statements.
5354 *
54- * @return Select
55+ * @return Select|Union
5556 */
5657 public function getSubQuery ()
5758 {
@@ -61,9 +62,9 @@ public function getSubQuery()
6162 /**
6263 * Sets the list of subQuery statements.
6364 *
64- * @param Select $subQuery
65+ * @param Select|Union $subQuery
6566 */
66- public function setSubQuery (Select $ subQuery )
67+ public function setSubQuery ($ subQuery )
6768 {
6869 $ this ->subQuery = $ subQuery ;
6970 }
You can’t perform that action at this time.
0 commit comments