diff options
Diffstat (limited to 'classes/FeedEnclosure.php')
| -rw-r--r-- | classes/FeedEnclosure.php | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/classes/FeedEnclosure.php b/classes/FeedEnclosure.php index b5f5cc411..6ef9bca5e 100644 --- a/classes/FeedEnclosure.php +++ b/classes/FeedEnclosure.php @@ -1,21 +1,11 @@ <?php class FeedEnclosure { - /** @var string */ - public $link; - - /** @var string */ - public $type; - - /** @var string */ - public $length; - - /** @var string */ - public $title; - - /** @var string */ - public $height; - - /** @var string */ - public $width; + function __construct( + public string $link = '', + public string $type = '', + public string $length = '', + public string $title = '', + public string $height = '', + public string $width = '', + ) {} } - |