fix: Определения типов
This commit is contained in:
parent
9f6fd74b17
commit
dd74a97894
28 changed files with 334 additions and 249 deletions
|
|
@ -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 : []));
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue