mirror of
https://github.com/Chouchen/ShikiryuRSS.git
synced 2025-09-09 02:04:33 +02:00
✨ Add specific elements
This commit is contained in:
@@ -11,17 +11,17 @@ class Enclosure extends HasValidator implements SRSSElement
|
||||
/**
|
||||
* @url
|
||||
*/
|
||||
public string $url;
|
||||
public ?string $url = null;
|
||||
|
||||
/**
|
||||
* @int
|
||||
*/
|
||||
public int $length;
|
||||
public ?int $length = null;
|
||||
|
||||
/**
|
||||
* @mediaType
|
||||
*/
|
||||
public string $type;
|
||||
public ?string $type = null;
|
||||
|
||||
public function isValid(): bool
|
||||
{
|
||||
|
Reference in New Issue
Block a user