diff --git a/src/Api/Operator/Ui.php b/src/Api/Operator/Ui.php index c93dc3ce..fb56b001 100644 --- a/src/Api/Operator/Ui.php +++ b/src/Api/Operator/Ui.php @@ -12,7 +12,7 @@ public function getNavigation(): array $response = $this->request('get-navigation'); /** @psalm-suppress ImplicitToStringCast, PossiblyNullArgument */ - return unserialize(base64_decode($response->navigation)); + return unserialize(base64_decode($response->navigation), ['allowed_classes' => false]); } public function createCustomButton(string $owner, array $properties): int