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
1 changed files with 1 additions and 1 deletions

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