If we use Php type in parameter of a setter function, the expected result is not correct. Example, with a simple component :
<?php
use Prado\Web\UI\ActiveControls\TActivePanel;
class TTest extends TActivePanel {
public function setValue(bool $value): void {
$this->setViewState("Value", $value, true);
}
}
When we set the value property on a tpl like this :
<com:TTest Value="false" />
The value is true instead of false