src/MessageGroupProcessing/QueryManageMessageGroupsActionApi.php
Method getPossibleRenames
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function getPossibleRenames(
MessageSourceChange $sourceChanges,
int $groupNamespace,
string $msgKey,
string $languageCode
Method execute
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function execute() {
$params = $this->extractRequestParams();
$groupId = $params['groupId'];
$msgKey = $params['messageKey'];
$name = $params['changesetName'] ?? MessageChangeStorage::DEFAULT_NAME;