PluginProbe
User Access Manager / 2.3.4
User Access Manager v2.3.4
2.3.20 2.3.19 2.3.18 2.3.17 2.3.16 2.3.15 2.3.14 2.3.13 trunk 0.6 0.6.1 0.6.2 0.7 0.7 Beta 0.7.0.1 0.8 0.8.0.1 0.8.0.2 0.9 0.9.1 0.9.1.1 0.9.1.2 0.9.1.3 0.9.1.4 1.0 All 136 releases
← All changes | src/Form/FormHelper.php +5 -5 2.3.152.3.4 View file →
@@ -23,9 +23,9 @@
23 23 private FormFactory $formFactory
24 24 ) {
25 25 }
26 26
27 - private function getObjectText(string $ident, bool $description, $objectKey = null): string
27 + private function getObjectText(string $ident, bool $description = false, $objectKey = null): string
28 28 {
29 29 $ident .= ($description === true) ? '_DESC' : '';
30 30
31 31 if ($objectKey !== null) {
@@ -60,9 +60,9 @@
60 60
61 61 public function getParameterText(
62 62 ConfigParameter $configParameter,
63 63 bool $description = false,
64 - ?string $objectKey = null
64 + string $objectKey = null
65 65 ): string {
66 66 $ident = 'TXT_UAM_' . strtoupper($configParameter->getId());
67 67
68 68 return $this->getObjectText(
@@ -97,9 +97,9 @@
97 97 * @throws Exception
98 98 */
99 99 private function convertSelectionParameter(
100 100 SelectionConfigParameter $configParameter,
101 - ?string $objectKey = null,
101 + string $objectKey = null,
102 102 array $overwrittenValues = []
103 103 ): mixed {
104 104 $values = [];
105 105
@@ -130,9 +130,9 @@
130 130 * @throws Exception
131 131 */
132 132 public function convertConfigParameter(
133 133 ConfigParameter $configParameter,
134 - ?string $objectKey = null,
134 + string $objectKey = null,
135 135 array $overwrittenValues = []
136 136 ): Input|Radio|Select|null {
137 137 if (($configParameter instanceof StringConfigParameter) === true) {
138 138 return $this->formFactory->createInput(
@@ -161,9 +161,9 @@
161 161
162 162 /**
163 163 * @throws Exception
164 164 */
165 - public function getSettingsForm(array $parameters, ?string $objectKey = null): Form
165 + public function getSettingsForm(array $parameters, string $objectKey = null): Form
166 166 {
167 167 $configParameters = $this->config->getConfigParameters();
168 168 $form = $this->formFactory->createFrom();
169 169