style: fix indentation, alignment, and docblock annotations
- Correct getChoices() docblock to reflect translated label => enum backing value order instead of value => label - Re-indent Smart Links menu config to match actual array nesting - Align assignment operators in RefreshStatsCommand - Add missing newline at end of RefreshStatsCommand.php
This commit is contained in:
1 parent
07773acb8d
commit
b138056e43
90 files changed
+622
-272
No files matched your search
@@ -65,7 +65,7 @@ final class UtmConfigurationNormalizer
|
||||
*/
|
||||
private function normalizeParameter(mixed $stored, ?UtmParameterDefinition $definition): array
|
||||
{
|
||||
$defaultMode = $definition?->defaultMode ?? UtmParameterMode::DISABLED;
|
||||
$defaultMode = $definition->defaultMode ?? UtmParameterMode::DISABLED;
|
||||
$allowedModes = $definition?->getAllowedModes() ?? UtmParameterMode::ALL;
|
||||
|
||||
if (!is_array($stored)) {
|
||||
@@ -89,7 +89,7 @@ final class UtmConfigurationNormalizer
|
||||
return $parameter;
|
||||
}
|
||||
|
||||
$values = $this->normalizeValues($stored['values'] ?? []);
|
||||
$values = $this->normalizeValues($stored['values'] ?? []);
|
||||
$default = (string) ($stored['default'] ?? '');
|
||||
|
||||
$parameter['values'] = $values;
|
||||
|
||||
Reference in new issue
Block a user