Make classes readonly when possible

This commit is contained in:
Alejandro Celaya
2024-11-09 09:55:51 +01:00
parent d6b103de83
commit 72f1e243b5
16 changed files with 40 additions and 40 deletions

View File

@@ -11,9 +11,9 @@ use Shlinkio\Shlink\Core\Visit\Model\VisitType;
use function rtrim;
class NotFoundType
readonly class NotFoundType
{
private function __construct(private readonly VisitType|null $type)
private function __construct(private VisitType|null $type)
{
}