Skip to content

Commit

Permalink
Fix BC in Laravel 9.38 (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
lorisleiva authored Nov 8, 2022
1 parent 6701206 commit 2f9277e
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/Decorators/JobDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ class JobDecorator implements ShouldQueue
use Queueable;
use Batchable;
use SerializesModels {
__sleep as protected sleepFromSerializesModels;
__wakeup as protected wakeupFromSerializesModels;
__serialize as protected serializeFromSerializesModels;
__unserialize as protected unserializeFromSerializesModels;
}
Expand Down Expand Up @@ -207,19 +205,6 @@ protected function unserializeProperties()
});
}

public function __sleep()
{
$this->serializeProperties();

return $this->sleepFromSerializesModels();
}

public function __wakeup()
{
$this->wakeupFromSerializesModels();
$this->unserializeProperties();
}

public function __serialize()
{
$this->serializeProperties();
Expand Down

0 comments on commit 2f9277e

Please sign in to comment.