From b30fa7f5a94b71037a123d4c529432f4e9123031 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Sun, 22 Oct 2023 21:48:40 +0200 Subject: [PATCH] Mark DashboardController as internal Marks the class as internal, as it is not intended to be used outside of the package. RFC: https://twitter.com/CodeWithCaen/status/1716145658426519821 --- RELEASE_NOTES.md | 2 +- packages/realtime-compiler/src/Http/DashboardController.php | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 6bca2c46ffe..1de96d45224 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -14,7 +14,7 @@ This serves two purposes: - Added support for setting a custom post date when calling post file creator action directly in https://github.com/hydephp/develop/pull/1393 ### Changed -- for changes in existing functionality. +- Realtime Compiler: The `DashboardController` class is now marked as internal, as it is not intended to be used outside of the package. ### Deprecated - for soon-to-be removed features. diff --git a/packages/realtime-compiler/src/Http/DashboardController.php b/packages/realtime-compiler/src/Http/DashboardController.php index 95d3d90bc00..c832ddc4f8f 100644 --- a/packages/realtime-compiler/src/Http/DashboardController.php +++ b/packages/realtime-compiler/src/Http/DashboardController.php @@ -20,6 +20,9 @@ use function config; use function app; +/** + * @internal This class is not intended to be edited outside the Hyde Realtime Compiler. + */ class DashboardController { public string $title;