Skip to content

Commit

Permalink
fix static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
dpanta94 committed Dec 17, 2024
1 parent 299df49 commit 755bb39
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Assets/Asset.php
Original file line number Diff line number Diff line change
Expand Up @@ -1821,7 +1821,8 @@ public function do_register() {
*/
public function set_as_unenqueued() {
$this->is_enqueued = false;
return $this->dequeue_asset();
$this->dequeue_asset();
return $this;
}

/**
Expand All @@ -1834,7 +1835,8 @@ public function set_as_unenqueued() {
*/
public function set_as_unregistered() {
$this->is_registered = false;
return $this->deregister_asset();
$this->deregister_asset();
return $this;
}

/**
Expand Down

0 comments on commit 755bb39

Please sign in to comment.