diff --git a/src/Assets/Asset.php b/src/Assets/Asset.php index 8d76289..24baec1 100644 --- a/src/Assets/Asset.php +++ b/src/Assets/Asset.php @@ -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; } /** @@ -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; } /**