replaced confusing loadView behaviour

This commit is contained in:
2026-05-22 13:47:13 +02:00
parent cc81a9764f
commit 3342d10737
5 changed files with 12 additions and 11 deletions

View File

@@ -17,7 +17,7 @@ class Link extends StaticView {
private string $href;
private ?string $nonce;
function __construct($rel, $href, $type = "") {
function __construct(string $rel, string $href, string $type = "") {
$this->href = $href;
$this->type = $type;
$this->rel = $rel;