mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-08 00:03:12 +08:00
Make classes readonly when possible
This commit is contained in:
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user