| @@ -1,16 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | -/** | |
| 3 | - * PFBC (PHP Form Builder Class) - Third-party library | |
| 4 | - * @package PFBC | |
| 5 | - */ | |
| 6 | - | |
| 7 | -// phpcs:disable WordPress.Security.EscapeOutput, WordPress.NamingConventions.PrefixAllGlobals, PluginCheck.CodeAnalysis.Heredoc -- Third-party library | |
| 8 | - | |
| 9 | 2 | class Element_Hidden extends Element { |
| 10 | 3 | protected $attributes = array("type" => "hidden"); |
| 11 | 4 | |
| 12 | - public function __construct($name, $value = "", ?array $properties = null) { | |
| 5 | + public function __construct($name, $value = "", array $properties = null) { | |
| 13 | 6 | if(!is_array($properties)) |
| 14 | 7 | $properties = array(); |
| 15 | 8 | |
| 16 | 9 | if(!empty($value)) |