fix: noverify --fix
This commit is contained in:
parent
5aff28d2b8
commit
117640a755
44 changed files with 174 additions and 174 deletions
|
|
@ -35,7 +35,7 @@ class Form extends View {
|
|||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->constructor = array(
|
||||
$this->constructor = [
|
||||
'input' => 'ctiso\\Form\\Input',
|
||||
// input с проверкой на заполненность
|
||||
'inputreq' => 'ctiso\\Form\\Input',
|
||||
|
|
@ -64,7 +64,7 @@ class Form extends View {
|
|||
'chooser' => 'ctiso\\Form\\Input',
|
||||
'select_chooser' => 'ctiso\\Form\\SelectOne',
|
||||
'html_text' => 'ctiso\\Form\\HtmlText'
|
||||
);
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -168,7 +168,7 @@ class Form extends View {
|
|||
{
|
||||
foreach ($schema as $key => $conv) {
|
||||
list($value, $type) = $conv;
|
||||
$this->field [$key]->setValue(call_user_func(array('ctiso\\Primitive', 'from_' . $type), $data->$value));
|
||||
$this->field [$key]->setValue(call_user_func(['ctiso\\Primitive', 'from_' . $type], $data->$value));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue