From db153dd1d1b6a15035315c9fa40674d8ff023fa9 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 6 Oct 2019 18:30:09 +0200 Subject: [PATCH] Additional form field interfaces should extend `IFormField` --- .../lib/system/form/builder/field/IAutoFocusFormField.class.php | 2 +- .../lib/system/form/builder/field/IImmutableFormField.class.php | 2 +- .../lib/system/form/builder/field/IMaximumFormField.class.php | 2 +- .../system/form/builder/field/IMaximumLengthFormField.class.php | 2 +- .../lib/system/form/builder/field/IMinimumFormField.class.php | 2 +- .../system/form/builder/field/IMinimumLengthFormField.class.php | 2 +- .../lib/system/form/builder/field/IMultipleFormField.class.php | 2 +- .../lib/system/form/builder/field/INullableFormField.class.php | 2 +- .../lib/system/form/builder/field/IPackagesFormField.class.php | 2 +- .../system/form/builder/field/IPlaceholderFormField.class.php | 2 +- .../lib/system/form/builder/field/ISelectionFormField.class.php | 2 +- .../lib/system/form/builder/field/ISuffixedFormField.class.php | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/wcfsetup/install/files/lib/system/form/builder/field/IAutoFocusFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/IAutoFocusFormField.class.php index 43ecca74a2..4c2024dda7 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/IAutoFocusFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/IAutoFocusFormField.class.php @@ -10,7 +10,7 @@ namespace wcf\system\form\builder\field; * @package WoltLabSuite\Core\System\Form\Builder\Field * @since 5.2 */ -interface IAutoFocusFormField { +interface IAutoFocusFormField extends IFormField { /** * Sets whether this field is auto-focused and returns this field. * diff --git a/wcfsetup/install/files/lib/system/form/builder/field/IImmutableFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/IImmutableFormField.class.php index 43cad4b5c3..814a768fe2 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/IImmutableFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/IImmutableFormField.class.php @@ -10,7 +10,7 @@ namespace wcf\system\form\builder\field; * @package WoltLabSuite\Core\System\Form\Builder\Field * @since 5.2 */ -interface IImmutableFormField { +interface IImmutableFormField extends IFormField { /** * Sets whether the value of this field is immutable and returns this field. * diff --git a/wcfsetup/install/files/lib/system/form/builder/field/IMaximumFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/IMaximumFormField.class.php index 922ec31cb3..d9db3ec09e 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/IMaximumFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/IMaximumFormField.class.php @@ -10,7 +10,7 @@ namespace wcf\system\form\builder\field; * @package WoltLabSuite\Core\System\Form\Builder\Field * @since 5.2 */ -interface IMaximumFormField { +interface IMaximumFormField extends IFormField { /** * Returns the maximum of the values of this field or `null` if no maximum * has been set. diff --git a/wcfsetup/install/files/lib/system/form/builder/field/IMaximumLengthFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/IMaximumLengthFormField.class.php index 49ee480689..c1a647b62f 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/IMaximumLengthFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/IMaximumLengthFormField.class.php @@ -11,7 +11,7 @@ use wcf\data\language\Language; * @package WoltLabSuite\Core\System\Form\Builder\Field * @since 5.2 */ -interface IMaximumLengthFormField { +interface IMaximumLengthFormField extends IFormField { /** * Returns the maximum length of the values of this field or `null` if no maximum * length has been set. diff --git a/wcfsetup/install/files/lib/system/form/builder/field/IMinimumFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/IMinimumFormField.class.php index 109d4675b6..19e72b13d5 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/IMinimumFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/IMinimumFormField.class.php @@ -10,7 +10,7 @@ namespace wcf\system\form\builder\field; * @package WoltLabSuite\Core\System\Form\Builder\Field * @since 5.2 */ -interface IMinimumFormField { +interface IMinimumFormField extends IFormField { /** * Returns the minimum of the values of this field or `null` if no minimum * has been set. diff --git a/wcfsetup/install/files/lib/system/form/builder/field/IMinimumLengthFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/IMinimumLengthFormField.class.php index d493c40106..e4098febab 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/IMinimumLengthFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/IMinimumLengthFormField.class.php @@ -11,7 +11,7 @@ use wcf\data\language\Language; * @package WoltLabSuite\Core\System\Form\Builder\Field * @since 5.2 */ -interface IMinimumLengthFormField { +interface IMinimumLengthFormField extends IFormField { /** * Returns the minimum length of the values of this field or `null` if no minimum * length has been set. diff --git a/wcfsetup/install/files/lib/system/form/builder/field/IMultipleFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/IMultipleFormField.class.php index 7d3eb445d5..0e6bd9661b 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/IMultipleFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/IMultipleFormField.class.php @@ -10,7 +10,7 @@ namespace wcf\system\form\builder\field; * @package WoltLabSuite\Core\System\Form\Builder\Field * @since 5.2 */ -interface IMultipleFormField { +interface IMultipleFormField extends IFormField { /** * value to indicate that there is no maximum number of values to be selected * or set diff --git a/wcfsetup/install/files/lib/system/form/builder/field/INullableFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/INullableFormField.class.php index 8189df4bfb..74378f8407 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/INullableFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/INullableFormField.class.php @@ -10,7 +10,7 @@ namespace wcf\system\form\builder\field; * @package WoltLabSuite\Core\System\Form\Builder\Field * @since 5.2 */ -interface INullableFormField { +interface INullableFormField extends IFormField { /** * Returns `true` if this field supports `null` as its value and returns `false` * otherwise. diff --git a/wcfsetup/install/files/lib/system/form/builder/field/IPackagesFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/IPackagesFormField.class.php index 3d288efac8..95950ad56c 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/IPackagesFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/IPackagesFormField.class.php @@ -11,7 +11,7 @@ namespace wcf\system\form\builder\field; * @package WoltLabSuite\Core\System\Form\Builder\Field * @since 5.2 */ -interface IPackagesFormField { +interface IPackagesFormField extends IFormField { /** * Returns the ids of the packages considered for this field. An empty * array is returned if all packages are considered. diff --git a/wcfsetup/install/files/lib/system/form/builder/field/IPlaceholderFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/IPlaceholderFormField.class.php index 65ed64b4f5..1ebac536aa 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/IPlaceholderFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/IPlaceholderFormField.class.php @@ -10,7 +10,7 @@ namespace wcf\system\form\builder\field; * @package WoltLabSuite\Core\System\Form\Builder\Field * @since 5.2 */ -interface IPlaceholderFormField { +interface IPlaceholderFormField extends IFormField { /** * Returns the placeholder value of this field or `null` if no placeholder has * been set. diff --git a/wcfsetup/install/files/lib/system/form/builder/field/ISelectionFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/ISelectionFormField.class.php index 57eed08177..a626e14b8b 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/ISelectionFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/ISelectionFormField.class.php @@ -11,7 +11,7 @@ use wcf\data\DatabaseObjectList; * @package WoltLabSuite\Core\System\Form\Builder\Field * @since 5.2 */ -interface ISelectionFormField { +interface ISelectionFormField extends IFormField { /** * Returns a structured array that can be used to generate the form field output. * diff --git a/wcfsetup/install/files/lib/system/form/builder/field/ISuffixedFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/ISuffixedFormField.class.php index 4907399cba..be5894d53d 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/ISuffixedFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/ISuffixedFormField.class.php @@ -10,7 +10,7 @@ namespace wcf\system\form\builder\field; * @package WoltLabSuite\Core\System\Form\Builder\Field * @since 5.2 */ -interface ISuffixedFormField { +interface ISuffixedFormField extends IFormField { /** * Returns the suffix of this field or `null` if no suffix has been set. * -- 2.20.1