Skip to content

Commit def1a80

Browse files
committed
👌 Fix wrong class names
1 parent 55c9482 commit def1a80

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎src/Task.php‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function dispatch() {
115115
* @since 1.0.0
116116
* @access public
117117
*
118-
* @return Queue $this
118+
* @return Task $this
119119
*/
120120
public function push_to_queue( $data ) {
121121
$this->data[] = $data;
@@ -129,7 +129,7 @@ public function push_to_queue( $data ) {
129129
* @since 1.0.0
130130
* @access public
131131
*
132-
* @return Queue $this
132+
* @return Task $this
133133
*/
134134
public function save() {
135135
// Generate key.
@@ -154,7 +154,7 @@ public function save() {
154154
* @since 1.0.0
155155
* @access public
156156
*
157-
* @return Queue $this
157+
* @return Task $this
158158
*/
159159
public function update( $key, $data ) {
160160
if ( ! empty( $data ) ) {
@@ -171,7 +171,7 @@ public function update( $key, $data ) {
171171
*
172172
* @since 1.0.0
173173
*
174-
* @return Queue $this
174+
* @return Task $this
175175
*/
176176
public function delete( $key ) {
177177
delete_site_option( $key );
@@ -328,7 +328,7 @@ protected function lock_process() {
328328
* @since 1.0.0
329329
* @access protected
330330
*
331-
* @return Queue $this
331+
* @return Task $this
332332
*/
333333
protected function unlock_process() {
334334
// Delete lock transient.
@@ -707,4 +707,4 @@ public function cancel_process() {
707707
* @return mixed
708708
*/
709709
abstract protected function task( $item );
710-
}
710+
}

0 commit comments

Comments
 (0)