Fix PHPDoc types on new PreFileDownloadEvent property

main
Fränz Friederes 4 years ago
parent a1a3e29f52
commit 7a49cda9f6
No known key found for this signature in database
GPG Key ID: 583D205C93C01BC0

@ -33,7 +33,7 @@ class PreFileDownloadEvent extends Event
private $processedUrl; private $processedUrl;
/** /**
* @var string * @var string|null
*/ */
private $customCacheKey; private $customCacheKey;
@ -96,7 +96,7 @@ class PreFileDownloadEvent extends Event
/** /**
* Retrieves a custom package cache key for this download. * Retrieves a custom package cache key for this download.
* *
* @return string * @return string|null
*/ */
public function getCustomCacheKey() public function getCustomCacheKey()
{ {
@ -106,7 +106,7 @@ class PreFileDownloadEvent extends Event
/** /**
* Sets a custom package cache key for this download. * Sets a custom package cache key for this download.
* *
* @param string $customCacheKey New cache key * @param string|null $customCacheKey New cache key
*/ */
public function setCustomCacheKey($customCacheKey) public function setCustomCacheKey($customCacheKey)
{ {

Loading…
Cancel
Save