fix: Аннотации типов
This commit is contained in:
parent
69370bdf38
commit
09a61244ca
3 changed files with 22 additions and 19 deletions
|
|
@ -21,13 +21,13 @@ class Action implements ActionInterface
|
|||
const ACTION_PREFIX = "action"; // Префикс для функций действий
|
||||
|
||||
// Параметры устанавливаются при создании контроллера
|
||||
public $name = ''; // Имя модуля
|
||||
public string $name = ''; // Имя модуля
|
||||
public $front;
|
||||
|
||||
public $modulePath = null; // Путь к модулю
|
||||
public $moduleTitle = '';
|
||||
public string $modulePath = ''; // Путь к модулю
|
||||
public string $moduleTitle = '';
|
||||
|
||||
public $viewPathPrefix = ''; // Путь к шаблонам контроллера
|
||||
public string $viewPathPrefix = ''; // Путь к шаблонам контроллера
|
||||
|
||||
/**
|
||||
* Соединение с базой данных
|
||||
|
|
@ -40,7 +40,7 @@ class Action implements ActionInterface
|
|||
public $logger = null; // Обьект для ведения лога
|
||||
|
||||
private $factory = null; // Ссылка на обьект создания модели
|
||||
private $helpers = array(); // Помошники для действий
|
||||
private array $helpers = []; // Помошники для действий
|
||||
public $part = null; // Параметры для ссылки
|
||||
|
||||
/** @var \ctiso\Registry */
|
||||
|
|
@ -50,9 +50,9 @@ class Action implements ActionInterface
|
|||
|
||||
// Для Widgets
|
||||
public $view = null;
|
||||
public $childNodes = array();
|
||||
public $ctrlValues = array();
|
||||
public $childViews = array();
|
||||
public array $childNodes = [];
|
||||
public array $ctrlValues = [];
|
||||
public array $childViews = [];
|
||||
|
||||
function __construct() {
|
||||
$this->part = new Url();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue