Skip to content

Commit 0dc235d

Browse files
committed
fix:Changed __wake() method visibility to public
1 parent 1182800 commit 0dc235d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Singleton.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@ private function __clone()
2929
{
3030
}
3131
/**
32-
* Unserialize method of the private type to prevent the deserialization of
33-
* the instance
32+
* Unserialize method
3433
*/
35-
private function __wakeup()
34+
public function __wakeup()
3635
{
3736
}
3837
}

0 commit comments

Comments
 (0)