Skip to content

Commit

Permalink
Update SerializableClosure.php
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechsTech committed Dec 18, 2021
1 parent f42078b commit 911c973
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Spawn/Closure/SerializableClosure.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public function serialize()
*
* @return string The serialized closure
*/
public function serializer()
protected function serializer()
{
if ($this->scope === null) {
$this->scope = new ClosureScope();
Expand Down Expand Up @@ -370,7 +370,7 @@ public function unserialize($data)
* @param string $data Serialized data
* @throws SecurityException
*/
public function deserializer($data)
protected function deserializer($data)
{
ClosureStream::register();

Expand Down

0 comments on commit 911c973

Please sign in to comment.