1
0
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:
2023-04-12 14:41:45 +02:00
parent 4194420980
commit 08138992fd
9 changed files with 118 additions and 41 deletions

View File

@@ -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
{