From e8e31b04013b8a984e3f1ab957b1a6a587b0004a Mon Sep 17 00:00:00 2001 From: Lloric Mayuga Garcia Date: Sat, 27 May 2023 17:33:40 +0800 Subject: [PATCH 1/2] 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() From 8553c70d5882c620b7deed086756b7f4d023def3 Mon Sep 17 00:00:00 2001 From: Lloric Mayuga Garcia Date: Sat, 27 May 2023 17:37:51 +0800 Subject: [PATCH 2/2] Try to fix style --- src/Horizon.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Horizon.php b/src/Horizon.php index 738bee2e..86027490 100644 --- a/src/Horizon.php +++ b/src/Horizon.php @@ -48,6 +48,7 @@ class Horizon * Indicates if Horizon should use the dark theme. * * @deprecated + * * @var bool */ public static $useDarkTheme = false; @@ -113,6 +114,7 @@ public static function use($connection) * Specifies that Horizon should use the dark theme. * * @deprecated + * * @return static */ public static function night()