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
@@ -97,6 +97,8 @@ class UtmTaxonomyController extends AbstractStandardFormController
|
||||
|
||||
/**
|
||||
* Taxonomies don't have a detail page; after Save or Cancel go back to the list.
|
||||
*
|
||||
* @param string $action
|
||||
*/
|
||||
protected function getPostActionControllerAction($action): string
|
||||
{
|
||||
@@ -113,9 +115,11 @@ class UtmTaxonomyController extends AbstractStandardFormController
|
||||
|
||||
/**
|
||||
* A saved taxonomy is never cloned: its name is unique, and a clone would collide on save.
|
||||
*
|
||||
* @param int|null $objectId
|
||||
*/
|
||||
public function cloneAction(Request $request, $objectId): Response
|
||||
{
|
||||
$this->accessDenied();
|
||||
$this->throwAccessDenied();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user