From cdef430b0b336aa5a1aa7c483c5f6783785071b3 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sat, 23 Apr 2022 19:01:02 +0200 Subject: [PATCH] Set ShortUrlIdentifier constructor to private --- module/Core/src/Model/ShortUrlIdentifier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/Core/src/Model/ShortUrlIdentifier.php b/module/Core/src/Model/ShortUrlIdentifier.php index 9b62f501..d2d6cbbc 100644 --- a/module/Core/src/Model/ShortUrlIdentifier.php +++ b/module/Core/src/Model/ShortUrlIdentifier.php @@ -10,7 +10,7 @@ use Symfony\Component\Console\Input\InputInterface; final class ShortUrlIdentifier { - public function __construct(public readonly string $shortCode, public readonly ?string $domain = null) + private function __construct(public readonly string $shortCode, public readonly ?string $domain = null) { }