55use DateTime ;
66use Exception ;
77use InvalidArgumentException ;
8- use Jackalope \Query \QOM \Selector ;
98use LogicException ;
109use PHPCR \PropertyType ;
1110use PHPCR \Query \InvalidQueryException ;
2120use PHPCR \Query \QOM \JoinInterface ;
2221use PHPCR \Query \QOM \NotInterface ;
2322use PHPCR \Query \QOM \OrderingInterface ;
24- use PHPCR \Query \QOM \PropertyExistenceInterface ;
2523use PHPCR \Query \QOM \PropertyValueInterface ;
2624use PHPCR \Query \QOM \QueryObjectModelConstantsInterface as Constants ;
2725use PHPCR \Query \QOM \QueryObjectModelFactoryInterface ;
@@ -133,9 +131,7 @@ public function parse($sql2)
133131
134132 $ columns = $ this ->buildColumns ($ columnData );
135133
136- $ query = $ this ->factory ->createQuery ($ source , $ constraint , $ orderings , $ columns );
137-
138- return $ query ;
134+ return $ this ->factory ->createQuery ($ source , $ constraint , $ orderings , $ columns );
139135 }
140136
141137 /**
@@ -161,7 +157,7 @@ protected function parseSource()
161157
162158 /**
163159 * 6.7.3. Selector
164- * Parse an SQL2 selector and return a QOM\Selector .
160+ * Parse an SQL2 selector and return a QOM\SelectorInterface .
165161 *
166162 * @return SelectorInterface
167163 */
@@ -519,7 +515,7 @@ protected function parseOperator()
519515 /**
520516 * 6.7.18 PropertyExistence.
521517 *
522- * @return PropertyExistenceInterface
518+ * @return ConstraintInterface
523519 */
524520 protected function parsePropertyExistence ()
525521 {
0 commit comments