From 92a235633192b649b3c3fad79c6f42632368e2ae Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Sat, 11 Nov 2023 11:15:06 +0100 Subject: [PATCH] Reorder class properties --- packages/realtime-compiler/src/ConsoleOutput.php | 2 +- packages/realtime-compiler/src/Http/DashboardController.php | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/realtime-compiler/src/ConsoleOutput.php b/packages/realtime-compiler/src/ConsoleOutput.php index 4deb9a5a88c..7d1c2c032cf 100644 --- a/packages/realtime-compiler/src/ConsoleOutput.php +++ b/packages/realtime-compiler/src/ConsoleOutput.php @@ -14,8 +14,8 @@ class ConsoleOutput { - protected SymfonyOutput $output; protected bool $verbose; + protected SymfonyOutput $output; public function __construct(bool $verbose = false, ?SymfonyOutput $output = null) { diff --git a/packages/realtime-compiler/src/Http/DashboardController.php b/packages/realtime-compiler/src/Http/DashboardController.php index ff5c44bcc86..37f9ac98c02 100644 --- a/packages/realtime-compiler/src/Http/DashboardController.php +++ b/packages/realtime-compiler/src/Http/DashboardController.php @@ -39,8 +39,9 @@ class DashboardController protected Request $request; protected ConsoleOutput $console; - protected bool $isAsync = false; + protected JsonResponse $response; + protected bool $isAsync = false; protected array $flashes = []; protected static array $tips = [ @@ -51,8 +52,6 @@ class DashboardController 'The dashboard update your project files. You can disable this by setting `server.dashboard.interactive` to `false` in `config/hyde.php`.', ]; - protected JsonResponse $response; - public function __construct() { $this->title = config('hyde.name').' - Dashboard';