Skip to content

Commit

Permalink
Mark local variable as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Nov 8, 2023
1 parent 9a62155 commit ec74dda
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public function getTip(): HtmlString

public static function enabled(): bool
{
// Previously, the setting was hyde.server.dashboard, so for backwards compatability we need this
/** @deprecated Previously, the setting was hyde.server.dashboard, so for backwards compatability we need this */
if (is_bool($oldConfig = config('hyde.server.dashboard'))) {
trigger_error('Using `hyde.server.dashboard` as boolean is deprecated. Please use `hyde.server.dashboard.enabled` instead.', E_USER_DEPRECATED);

Expand Down

0 comments on commit ec74dda

Please sign in to comment.