mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 23:33:13 +08:00
Make classes readonly when possible
This commit is contained in:
@@ -6,9 +6,9 @@ namespace Shlinkio\Shlink\Core\Crawling;
|
||||
|
||||
use Shlinkio\Shlink\Core\ShortUrl\Repository\CrawlableShortCodesQueryInterface;
|
||||
|
||||
class CrawlingHelper implements CrawlingHelperInterface
|
||||
readonly class CrawlingHelper implements CrawlingHelperInterface
|
||||
{
|
||||
public function __construct(private readonly CrawlableShortCodesQueryInterface $query)
|
||||
public function __construct(private CrawlableShortCodesQueryInterface $query)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user