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 38
38
use SQLParser \Query \Select ;
39
39
use Mouf \MoufInstanceDescriptor ;
40
40
use Mouf \MoufManager ;
41
+ use SQLParser \Query \Union ;
41
42
42
43
/**
43
44
* This class represents a subquery (and optionally a JOIN .. ON expression in an SQL expression.
@@ -51,7 +52,7 @@ class SubQuery implements NodeInterface
51
52
/**
52
53
* Returns the list of subQuery statements.
53
54
*
54
- * @return Select
55
+ * @return Select|Union
55
56
*/
56
57
public function getSubQuery ()
57
58
{
@@ -61,9 +62,9 @@ public function getSubQuery()
61
62
/**
62
63
* Sets the list of subQuery statements.
63
64
*
64
- * @param Select $subQuery
65
+ * @param Select|Union $subQuery
65
66
*/
66
- public function setSubQuery (Select $ subQuery )
67
+ public function setSubQuery ($ subQuery )
67
68
{
68
69
$ this ->subQuery = $ subQuery ;
69
70
}
You can’t perform that action at this time.
0 commit comments