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
@@ -71,10 +71,13 @@ class SmartLinkRepository extends CommonRepository
|
||||
$this->getTableAlias().'.destinationUrl',
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* The Hits column of the list sorts by the number of hits of each link: the virtual
|
||||
* "hitCount" order by maps to the HIDDEN hitCount scalar of the list query. Everything
|
||||
* else falls back to core's column handling.
|
||||
*
|
||||
* @param array<string, mixed> $args
|
||||
*/
|
||||
protected function buildOrderByClause($q, array $args): void
|
||||
{
|
||||
@@ -92,6 +95,7 @@ class SmartLinkRepository extends CommonRepository
|
||||
|
||||
parent::buildOrderByClause($q, $args);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array<array{0: string, 1: string}>
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user