PHP code refresh #8

Merged
skobkin merged 2 commits from feature_modernize into master 2022-07-10 13:51:27 +00:00
Showing only changes of commit 5692e850be - Show all commits

View file

@ -25,7 +25,7 @@ class Torrent
private $infoHash; private $infoHash;
/** Cached value of self::infoHash in HEX string */ /** Cached value of self::infoHash in HEX string */
private string $infoHashHexCache; private ?string $infoHashHexCache = null;
#[Serializer\Groups(['api_v1_search', 'api_v1_show'])] #[Serializer\Groups(['api_v1_search', 'api_v1_show'])]
#[ORM\Column(name: 'name', type: 'text', nullable: false)] #[ORM\Column(name: 'name', type: 'text', nullable: false)]