Skip to content

Commit 28d6cb7

Browse files
asretuxsrtab
authored andcommitted
fix:Changed __wake() method visibility to public
1 parent 1182800 commit 28d6cb7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Singleton.php

+2-3
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)