diff --git a/forms/FormCheckBoxExtended.php b/forms/FormCheckBoxExtended.php index e98ccc4..5ac100e 100755 --- a/forms/FormCheckBoxExtended.php +++ b/forms/FormCheckBoxExtended.php @@ -50,7 +50,7 @@ class FormCheckBoxExtended extends Widget /** * @var array */ - protected $arrOptions = array(); + protected $arrOptions = []; /** * Initialize the object @@ -95,11 +95,7 @@ public function __set($strKey, $varValue) */ public function __get($strKey) { - switch ($strKey) { - default: - return parent::__get($strKey); - break; - } + return parent::__get($strKey); } /**