diff --git a/src/PhpParser.php b/src/PhpParser.php index 8a76c52..1eb87d2 100644 --- a/src/PhpParser.php +++ b/src/PhpParser.php @@ -42,7 +42,9 @@ public function encode($data): string */ public function decode(string $data) { - return $this->igbinaryAvailable ? \igbinary_unserialize($data) : \unserialize($data, - ['allowed_classes' => false]); + return $this->igbinaryAvailable ? \igbinary_unserialize($data) : \unserialize( + $data, + ['allowed_classes' => false] + ); } }