mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 15:23:12 +08:00
Make classes readonly when possible
This commit is contained in:
@@ -13,12 +13,12 @@ use Throwable;
|
||||
|
||||
use function sprintf;
|
||||
|
||||
class UpdateGeoLiteDb
|
||||
readonly class UpdateGeoLiteDb
|
||||
{
|
||||
public function __construct(
|
||||
private readonly GeolocationDbUpdaterInterface $dbUpdater,
|
||||
private readonly LoggerInterface $logger,
|
||||
private readonly EventDispatcherInterface $eventDispatcher,
|
||||
private GeolocationDbUpdaterInterface $dbUpdater,
|
||||
private LoggerInterface $logger,
|
||||
private EventDispatcherInterface $eventDispatcher,
|
||||
) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user