Skip to content

Commit

Permalink
Mask as deprecated using night() and $useDarkTheme (#1279)
Browse files Browse the repository at this point in the history
* Mask as deprecated using `night()` and `$useDarkTheme`

This PR is for #1275

* Try to fix style
  • Loading branch information
lloricode committed May 29, 2023
1 parent f6ce4ef commit ddd6a49
Showing 1 changed file with 4 additions and 0 deletions.
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

0 comments on commit ddd6a49

Please sign in to comment.