mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-11 17:44:44 +08:00
Updated to coding-standard library v1.2.2
This commit is contained in:
@@ -30,7 +30,7 @@ class ShortUrl extends AbstractEntity
|
||||
/** @var integer|null */
|
||||
private $maxVisits;
|
||||
|
||||
public function __construct(string $longUrl, ShortUrlMeta $meta = null)
|
||||
public function __construct(string $longUrl, ?ShortUrlMeta $meta = null)
|
||||
{
|
||||
$meta = $meta ?? ShortUrlMeta::createEmpty();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user