Skip to content

Commit

Permalink
Merge pull request #47 from creative-commoners/pulls/3/serial
Browse files Browse the repository at this point in the history
API Deprecate serialize methods
  • Loading branch information
GuySartorelli authored Mar 30, 2023
2 parents c0902ba + dda32b1 commit 38bef75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Task/CallbackTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public function __construct(Closure $closure)
* @inheritdoc
*
* @return string
* @deprecated 3.13.0 Will be replaced with __serialize() in 4.0.0
*/
public function serialize()
{
Expand All @@ -37,6 +38,7 @@ public function serialize()
* @inheritdoc
*
* @param string $serialized
* @deprecated 3.13.0 Will be replaced with __unserialize() in 4.0.0
*/
public function unserialize($serialized)
{
Expand Down

0 comments on commit 38bef75

Please sign in to comment.