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:
Alexandre Gain committed 2026-11-21 11:23:33 +01:00
1 parent 07773acb8d
commit b138056e43
90 files changed
+622 -272

No files matched your search

+3 -1
View File
@@ -13,7 +13,9 @@ use Symfony\Contracts\Translation\TranslatorInterface;
trait SmartLinkRedirectEnumHelper
{
/**
* @return array<int|string, string> value (as string) => label
* The choices of the form's redirect dropdowns and the list views: translated label => backing value.
*
* @return array<string, int|string> translated label => backing value of the enum case
*/
public static function getChoices(TranslatorInterface $translator): array
{