From 08eb0e322d3b3e72f68dcc9e410f958711df08bd Mon Sep 17 00:00:00 2001 From: christianbarkowsky Date: Sun, 12 Dec 2021 17:39:40 +0100 Subject: [PATCH] #8 --- forms/FormCheckBoxExtended.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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); } /**