| @@ -1,12 +1,5 @@ | ||
| 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 View_SideBySide extends View { |
| 10 | 3 | protected $labelWidth; |
| 11 | 4 | protected $labelRightAlign; |
| 12 | 5 | protected $labelPaddingRight = 5; |
| @@ -11,9 +4,9 @@ | ||
| 11 | 4 | protected $labelRightAlign; |
| 12 | 5 | protected $labelPaddingRight = 5; |
| 13 | 6 | protected $labelPaddingTop; |
| 14 | 7 | |
| 15 | - public function __construct($labelWidth, ?array $properties = null) { | |
| 8 | + public function __construct($labelWidth, array $properties = null) { | |
| 16 | 9 | if(!empty($properties)) |
| 17 | 10 | $properties["labelWidth"] = $labelWidth; |
| 18 | 11 | else |
| 19 | 12 | $properties = array("labelWidth" => $labelWidth); |