From 62d164e451b2161c3ca9db81fc9048fc9c3640ab Mon Sep 17 00:00:00 2001 From: Torben Lundsgaard Date: Sun, 10 Mar 2024 22:37:55 +0100 Subject: [PATCH] Fix default options --- src/Options.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Options.php b/src/Options.php index 8cee53e..edec392 100644 --- a/src/Options.php +++ b/src/Options.php @@ -81,7 +81,10 @@ final class Options { ], ], 'premium' => [ - 'addon_installed' => 0, + 'addon_installed' => [ + 'default' => true, + 'type' => 'boolean', + ], ], ]; @@ -289,10 +292,6 @@ private function process_generic_options( array $options ): array { } } - if ( ! isset( $options['integrations'] ) ) { - $options['integrations'] = []; - } - return $options; }