chore: Аннотации к типам
This commit is contained in:
parent
386a927254
commit
245b5c6c19
18 changed files with 191 additions and 104 deletions
|
|
@ -29,10 +29,17 @@ class FakeTemplate {
|
|||
$this->_name = $name;
|
||||
}
|
||||
|
||||
function __set($key, $value) {
|
||||
/**
|
||||
* @param string $key
|
||||
* @param mixed $value
|
||||
*/
|
||||
function __set($key, $value): void {
|
||||
$this->_data[$key] = $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
function execute() {
|
||||
return json_encode($this->_data);
|
||||
}
|
||||
|
|
@ -56,7 +63,7 @@ class Component
|
|||
public $component_id;
|
||||
/** @var string */
|
||||
public $component_title;
|
||||
|
||||
/** @var string */
|
||||
public $COMPONENTS_WEB;
|
||||
|
||||
public Registry $config;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue