diff --git a/app/Console/Commands/DemoMode.php b/app/Console/Commands/DemoMode.php index 92decce9a6ea..d56ded08af4f 100644 --- a/app/Console/Commands/DemoMode.php +++ b/app/Console/Commands/DemoMode.php @@ -101,7 +101,7 @@ class DemoMode extends Command 'account_id' => $account->id, 'slack_webhook_url' => config('ninja.notification.slack'), 'enabled_modules' => 32767, - 'company_key' => 'demo', + 'company_key' => 'KEY', 'enable_shop_api' => true ]); diff --git a/app/Utils/SystemHealth.php b/app/Utils/SystemHealth.php index 6e7eb880b66f..c4cc4e60c1bf 100644 --- a/app/Utils/SystemHealth.php +++ b/app/Utils/SystemHealth.php @@ -64,7 +64,7 @@ class SystemHealth 'system_health' => $system_health, 'extensions' => self::extensions(), 'php_version' => [ - 'minimum_php_version' => self::$php_version, + 'minimum_php_version' => (string)self::$php_version, 'current_php_version' => phpversion(), 'is_okay' => version_compare(phpversion(), self::$php_version, '>='), ],