Update changelog

This commit is contained in:
Alejandro Celaya
2025-11-01 12:31:06 +01:00
parent b69db91378
commit 058c0ebfaf
4 changed files with 6 additions and 6 deletions

View File

@@ -31,7 +31,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and this
* [#2472](https://github.com/shlinkio/shlink/issues/2472) Add support for PHP 8.5
### Changed
* *Nothing*
* [#2424](https://github.com/shlinkio/shlink/issues/2424) Make simple console commands invokable.
### Deprecated
* *Nothing*

View File

@@ -12,7 +12,7 @@ use Symfony\Component\Console\Style\SymfonyStyle;
#[AsCommand(
name: InitialApiKeyCommand::NAME,
description: 'Tries to create initial API key'
description: 'Tries to create initial API key',
)]
class InitialApiKeyCommand extends Command
{
@@ -25,7 +25,7 @@ class InitialApiKeyCommand extends Command
public function __invoke(
SymfonyStyle $io,
#[Argument('The initial API to create')] string $apiKey
#[Argument('The initial API to create')] string $apiKey,
): int {
$result = $this->apiKeyService->createInitial($apiKey);

View File

@@ -41,7 +41,7 @@ use function sprintf;
Send all visits created during 2022:
<info>%command.name% --since 2022-01-01 --until 2022-12-31</info>
HELP
HELP,
)]
class MatomoSendVisitsCommand extends Command implements VisitSendingProgressTrackerInterface
{

View File

@@ -21,11 +21,11 @@ class DeleteTagsCommand extends Command
}
/**
* @param string[] $tags
* @param string[] $tagNames
*/
public function __invoke(
SymfonyStyle $io,
#[Option('The name of the tags to delete', name: 'name', shortcut: 't')] array $tagNames = []
#[Option('The name of the tags to delete', name: 'name', shortcut: 't')] array $tagNames = [],
): int {
if (empty($tagNames)) {
$io->warning('You have to provide at least one tag name');