@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | |
67 | 67 | foreach ($this->appSchemas[$app] as $otherSchema) { |
68 | 68 | if ($otherSchema['id'] === $schema['id']) { |
69 | - throw new Exception('Duplicate form IDs detected: ' . $schema['id']); |
|
69 | + throw new Exception('Duplicate form IDs detected: '.$schema['id']); |
|
70 | 70 | } |
71 | 71 | } |
72 | 72 | |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | $otherFieldIDs = array_merge(...array_map(fn ($schema) => array_map(fn ($field) => $field['id'], $schema['fields']), $this->appSchemas[$app])); |
75 | 75 | $intersectionFieldIDs = array_intersect($fieldIDs, $otherFieldIDs); |
76 | 76 | if (count($intersectionFieldIDs) > 0) { |
77 | - throw new Exception('Non unique field IDs detected: ' . join(', ', $intersectionFieldIDs)); |
|
77 | + throw new Exception('Non unique field IDs detected: '.join(', ', $intersectionFieldIDs)); |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | $this->appSchemas[$app][] = $schema; |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | } |
211 | 211 | } |
212 | 212 | |
213 | - throw new Exception('Unknown fieldId "' . $fieldId . '"'); |
|
213 | + throw new Exception('Unknown fieldId "'.$fieldId.'"'); |
|
214 | 214 | } |
215 | 215 | |
216 | 216 | /** |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | case DeclarativeSettingsTypes::STORAGE_TYPE_INTERNAL: |
246 | 246 | return $this->getInternalValue($user, $app, $formId, $fieldId); |
247 | 247 | default: |
248 | - throw new Exception('Unknown storage type "' . $storageType . '"'); |
|
248 | + throw new Exception('Unknown storage type "'.$storageType.'"'); |
|
249 | 249 | } |
250 | 250 | } |
251 | 251 | |
@@ -271,7 +271,7 @@ discard block |
||
271 | 271 | $this->saveInternalValue($user, $app, $formId, $fieldId, $value); |
272 | 272 | break; |
273 | 273 | default: |
274 | - throw new Exception('Unknown storage type "' . $storageType . '"'); |
|
274 | + throw new Exception('Unknown storage type "'.$storageType.'"'); |
|
275 | 275 | } |
276 | 276 | } |
277 | 277 | |
@@ -304,7 +304,7 @@ discard block |
||
304 | 304 | $value = $this->config->getUserValue($user->getUID(), $app, $fieldId, $defaultValue); |
305 | 305 | break; |
306 | 306 | default: |
307 | - throw new Exception('Unknown section type "' . $sectionType . '"'); |
|
307 | + throw new Exception('Unknown section type "'.$sectionType.'"'); |
|
308 | 308 | } |
309 | 309 | if ($isSensitive && $value !== '') { |
310 | 310 | try { |
@@ -346,7 +346,7 @@ discard block |
||
346 | 346 | $this->config->setUserValue($user->getUID(), $app, $fieldId, $value); |
347 | 347 | break; |
348 | 348 | default: |
349 | - throw new Exception('Unknown section type "' . $sectionType . '"'); |
|
349 | + throw new Exception('Unknown section type "'.$sectionType.'"'); |
|
350 | 350 | } |
351 | 351 | } |
352 | 352 |