fix: Инициализация параметров
This commit is contained in:
parent
48269bd424
commit
a58f18c836
2 changed files with 3 additions and 3 deletions
|
|
@ -15,7 +15,7 @@ class Url {
|
|||
$this->parts = $parts;
|
||||
}
|
||||
|
||||
function addQueryParam(string $key, string $value): void {
|
||||
function addQueryParam(string $key, ?string $value): void {
|
||||
$this->parts[$key] = $value;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -15,11 +15,11 @@ class View extends \stdClass
|
|||
|
||||
protected ?string $_title = null; // Заголовок текущего шаблона
|
||||
|
||||
public string $active_module;
|
||||
public ?string $active_module = null;
|
||||
public string $module_action;
|
||||
public array $prefix;
|
||||
|
||||
public array $suggestions; //подсказки
|
||||
public array $suggestions = []; //подсказки
|
||||
|
||||
public array $alias = [];
|
||||
public $codeGenerator = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue