| @@ -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 | |