Fix wakeup visibility for PHP 8 compatibility (https://github.com/woocommerce/woocommerce-admin/pull/5211)

Co-authored-by: Rebecca Scott <me@becdetat.com>
This commit is contained in:
Bec Scott 2020-09-30 13:51:25 +10:00 committed by GitHub
parent f3441c866a
commit 6ad7be3d58
1 changed files with 3 additions and 1 deletions

View File

@ -313,5 +313,7 @@ class FeaturePlugin {
/** /**
* Prevent unserializing. * Prevent unserializing.
*/ */
private function __wakeup() {} public function __wakeup() {
die();
}
} }