From 9da7551418758548d10d57fbcfc00ec93ac7eb50 Mon Sep 17 00:00:00 2001 From: bwaidelich Date: Tue, 13 Sep 2022 14:37:52 +0200 Subject: [PATCH] TASK: Make `FormState` a final class The `FormState` is not meant to be subclassed. This is now enforced via the PHP type system. Resolves: #128 --- Classes/Core/Runtime/FormState.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Classes/Core/Runtime/FormState.php b/Classes/Core/Runtime/FormState.php index 10d7d93..235455e 100644 --- a/Classes/Core/Runtime/FormState.php +++ b/Classes/Core/Runtime/FormState.php @@ -17,11 +17,9 @@ * The current state of the form which is attached to the {@link FormRuntime} * and saved in a session or the client. * - * **This class is not meant to be subclassed by developers.** - * * @internal */ -class FormState +final class FormState { /** * Constant which means that we are currently not on any page; i.e. the form