Fixing Torrent::$infoHashHexCache.
This commit is contained in:
parent
9980288a2a
commit
5692e850be
|
@ -25,7 +25,7 @@ class Torrent
|
|||
private $infoHash;
|
||||
|
||||
/** Cached value of self::infoHash in HEX string */
|
||||
private string $infoHashHexCache;
|
||||
private ?string $infoHashHexCache = null;
|
||||
|
||||
#[Serializer\Groups(['api_v1_search', 'api_v1_show'])]
|
||||
#[ORM\Column(name: 'name', type: 'text', nullable: false)]
|
||||
|
|
Loading…
Reference in a new issue