File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -82,11 +82,13 @@ class Delete extends AbstractConditions
82
82
/**
83
83
* Resets the internal store
84
84
*/
85
- public function reset () -> void
85
+ public function reset () -> <Delete>
86
86
{
87
87
parent :: reset();
88
88
89
89
let this -> store[" FROM" ] = " " ,
90
90
this -> store[" RETURNING" ] = [];
91
+
92
+ return this ;
91
93
}
92
94
}
Original file line number Diff line number Diff line change @@ -134,12 +134,14 @@ class Insert extends AbstractQuery
134
134
/**
135
135
* Resets the internal store
136
136
*/
137
- public function reset () -> void
137
+ public function reset () -> <Insert>
138
138
{
139
139
parent :: reset();
140
140
141
141
let this -> store[" FROM" ] = " " ,
142
142
this -> store[" RETURNING" ] = [];
143
+
144
+ return this ;
143
145
}
144
146
145
147
/**
Original file line number Diff line number Diff line change @@ -133,12 +133,14 @@ class Update extends AbstractConditions
133
133
/**
134
134
* Resets the internal store
135
135
*/
136
- public function reset () -> void
136
+ public function reset () -> <Update>
137
137
{
138
138
parent :: reset();
139
139
140
140
let this -> store[" FROM" ] = " " ,
141
141
this -> store[" RETURNING" ] = [];
142
+
143
+ return this ;
142
144
}
143
145
144
146
/**
You can’t perform that action at this time.
0 commit comments