fix: Определения типов

This commit is contained in:
origami11@yandex.ru 2025-10-01 12:37:39 +03:00
parent 9f6fd74b17
commit dd74a97894
28 changed files with 334 additions and 249 deletions

View file

@ -4,7 +4,8 @@ namespace ctiso;
class Url {
public $parts = [];
public $parent/*: Url*/;
/** @var Url */
public $parent;
function __construct() {
}
@ -23,5 +24,5 @@ class Url {
function toString() {
return '?' . http_build_query(array_merge($this->parts, $this->parent ? $this->parent->parts : []));
}
}
}