Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mask as deprecated using night() and $useDarkTheme #1279

Merged
merged 2 commits into from
May 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/Horizon.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ class Horizon
/**
* Indicates if Horizon should use the dark theme.
*
* @deprecated
*
* @var bool
*/
public static $useDarkTheme = false;
Expand Down Expand Up @@ -111,6 +113,8 @@ public static function use($connection)
/**
* Specifies that Horizon should use the dark theme.
*
* @deprecated
*
* @return static
*/
public static function night()
Expand Down