Skip to content

Commit

Permalink
fix static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
dpanta94 committed Jan 10, 2025
1 parent 9cb46f6 commit 23a3b6b
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 @@ -1825,7 +1825,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 @@ -1838,7 +1839,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 23a3b6b

Please sign in to comment.