mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-08 00:03:12 +08:00
Reduce duplicated code when parsing short codes and domains from CLI
This commit is contained in:
@@ -11,9 +11,9 @@ use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
use function sprintf;
|
||||
|
||||
class StartDateOption
|
||||
readonly final class StartDateOption
|
||||
{
|
||||
private readonly DateOption $dateOption;
|
||||
private DateOption $dateOption;
|
||||
|
||||
public function __construct(Command $command, string $descriptionHint)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user