From e8e31b04013b8a984e3f1ab957b1a6a587b0004a Mon Sep 17 00:00:00 2001 From: Lloric Mayuga Garcia Date: Sat, 27 May 2023 17:33:40 +0800 Subject: [PATCH] Mask as deprecated using `night()` and `$useDarkTheme` This PR is for https://github.com/laravel/horizon/pull/1275 --- src/Horizon.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Horizon.php b/src/Horizon.php index 84f0f5d3..738bee2e 100644 --- a/src/Horizon.php +++ b/src/Horizon.php @@ -47,6 +47,7 @@ class Horizon /** * Indicates if Horizon should use the dark theme. * + * @deprecated * @var bool */ public static $useDarkTheme = false; @@ -111,6 +112,7 @@ public static function use($connection) /** * Specifies that Horizon should use the dark theme. * + * @deprecated * @return static */ public static function night()