Internal fixes and cleanup

This commit is contained in:
Pablo Ferreiro 2022-11-04 20:08:19 +01:00
parent 1176bc35fe
commit 94da0e46ac
No known key found for this signature in database
GPG key ID: 41FBCE65B779FA24
30 changed files with 128 additions and 113 deletions

View file

@ -1,14 +1,13 @@
<?php
namespace App\Models;
class RSSTemplate {
public string $title;
class RSSTemplate extends BaseTemplate {
public string $desc;
public string $link;
public array $items;
function __construct(string $title, string $desc, string $link, array $items) {
$this->title = $title;
parent::__construct($title);
$this->desc = $desc;
$this->link = $link;
$this->items = $items;