Skip to content

Commit

Permalink
✅ fix: change __wakeup visibility to public in Singleton trait
Browse files Browse the repository at this point in the history
  • Loading branch information
alirezajavadigit committed Nov 8, 2024
1 parent d42c5df commit 5169fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/System/Traits/Efficient/Singleton.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private function __clone()
/**
* Prevent instance from being unserialized.
*/
private function __wakeup()
public function __wakeup()
{
}

Expand Down

0 comments on commit 5169fa2

Please sign in to comment.