Scrutinizer php fixes

This commit is contained in:
Dennis Eichhorn 2017-11-08 22:00:34 +01:00
parent 6d5085a530
commit 594dd74e0a

View File

@ -47,7 +47,7 @@ class BaseView extends View
public function render(...$data) : string public function render(...$data) : string
{ {
$this->id = $data[0]; $this->id = $data[0];
$this->required = $data[1] ?? false; $this->isRequired = $data[1] ?? false;
$this->getData('popup')->setId($this->id); $this->getData('popup')->setId($this->id);
return parent::render(); return parent::render();
} }