Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP8 compatibilty #32

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
PHP 8 compatibility: change wakeup magic methods to public visibility
  • Loading branch information
chermant committed Apr 27, 2022
commit 88e77b347c72dbec3c9565fe4451fefc5b2e81ca
2 changes: 1 addition & 1 deletion src/Admin/MarketingBord.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ private function __clone() {
/**
* Singleton instance can't be serialized.
*/
private function __wakeup() {
public function __wakeup() {
}

public function display_marketing_bord() {
Expand Down
2 changes: 1 addition & 1 deletion src/Admin/Requirements.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private function __clone() {
/**
* Singleton instance can't be serialized.
*/
private function __wakeup() {
public function __wakeup() {
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Orders/Orders.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ private function __clone() {
/**
* Singleton instance can't be serialized.
*/
private function __wakeup() {
public function __wakeup() {
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Products/Products.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ private function __clone() {
/**
* Singleton instance can't be serialized.
*/
private function __wakeup() {
public function __wakeup() {
}

public function get_list_args() {
Expand Down