mirror of
https://github.com/Chouchen/ShikiryuRSS.git
synced 2025-10-26 13:13:08 +01: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