@@ -894,8 +894,8 @@ public function where($predicates)
894894 */
895895 public function andWhere ($ where )
896896 {
897- $ where = $ this ->getDQLPart ('where ' );
898897 $ args = func_get_args ();
898+ $ where = $ this ->getDQLPart ('where ' );
899899
900900 if ($ where instanceof Expr \Andx) {
901901 $ where ->addMultiple ($ args );
@@ -927,8 +927,8 @@ public function andWhere($where)
927927 */
928928 public function orWhere ($ where )
929929 {
930- $ where = $ this ->getDqlPart ('where ' );
931930 $ args = func_get_args ();
931+ $ where = $ this ->getDqlPart ('where ' );
932932
933933 if ($ where instanceof Expr \Orx) {
934934 $ where ->addMultiple ($ args );
@@ -1007,8 +1007,8 @@ public function having($having)
10071007 */
10081008 public function andHaving ($ having )
10091009 {
1010- $ having = $ this ->getDqlPart ('having ' );
10111010 $ args = func_get_args ();
1011+ $ having = $ this ->getDqlPart ('having ' );
10121012
10131013 if ($ having instanceof Expr \Andx) {
10141014 $ having ->addMultiple ($ args );
@@ -1030,8 +1030,8 @@ public function andHaving($having)
10301030 */
10311031 public function orHaving ($ having )
10321032 {
1033- $ having = $ this ->getDqlPart ('having ' );
10341033 $ args = func_get_args ();
1034+ $ having = $ this ->getDqlPart ('having ' );
10351035
10361036 if ($ having instanceof Expr \Orx) {
10371037 $ having ->addMultiple ($ args );
0 commit comments