From ec74ddad6643a1be7a6d5e40648cf0e59827b672 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Wed, 8 Nov 2023 19:23:41 +0100 Subject: [PATCH] Mark local variable as deprecated --- packages/realtime-compiler/src/Http/DashboardController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/realtime-compiler/src/Http/DashboardController.php b/packages/realtime-compiler/src/Http/DashboardController.php index f7d22f2afb9..bb1a1ead4cc 100644 --- a/packages/realtime-compiler/src/Http/DashboardController.php +++ b/packages/realtime-compiler/src/Http/DashboardController.php @@ -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);