diff --git a/src/Command/PurgeQueueCommand.php b/src/Command/PurgeQueueCommand.php index d258ef3..c671d71 100644 --- a/src/Command/PurgeQueueCommand.php +++ b/src/Command/PurgeQueueCommand.php @@ -22,8 +22,8 @@ use CakeDC\QueueMonitor\Exception\QueueMonitorException; use CakeDC\QueueMonitor\Service\EnqueueClientService; use Psr\Log\LogLevel; -use function Cake\I18n\__; use function Cake\Collection\collection; +use function Cake\I18n\__; /** * Purge command. @@ -78,7 +78,7 @@ public function buildOptionParser(ConsoleOptionParser $parser): ConsoleOptionPar 'short' => 'y', 'boolean' => true, 'default' => false, - 'help' => __('Yes - skip confirmation prompt') + 'help' => __('Yes - skip confirmation prompt'), ]); } @@ -182,7 +182,7 @@ private function checkConfirmation(string $prompt, Arguments $args, ConsoleIo $i $prompt, [ __('yes'), - __('no') + __('no'), ], __('no') ); diff --git a/src/Service/EnqueueClientService.php b/src/Service/EnqueueClientService.php index add759a..0c7eb01 100644 --- a/src/Service/EnqueueClientService.php +++ b/src/Service/EnqueueClientService.php @@ -48,7 +48,7 @@ private function getEnqueueInternalQueueName(Config $enqueueClientConfig): strin return implode('.', [ $enqueueClientConfig->getPrefix(), $enqueueClientConfig->getApp(), - $enqueueClientConfig->getDefaultQueue() + $enqueueClientConfig->getDefaultQueue(), ]); } }