Fixing Torrent::$infoHashHexCache.

This commit is contained in:
Alexey Skobkin 2022-07-08 05:19:08 +03:00
parent 9980288a2a
commit 5692e850be
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7

View file

@ -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)]