| @@ -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_Grid extends View { |
| 10 | 3 | private $gridIncludedElements = 0; |
| 11 | 4 | |
| 12 | 5 | protected $form; |
| @@ -12,9 +5,9 @@ | ||
| 12 | 5 | protected $form; |
| 13 | 6 | protected $grid; |
| 14 | 7 | protected $gridMargin = 2; |
| 15 | 8 | |
| 16 | - public function __construct(array $grid, ?array $properties = null) { | |
| 9 | + public function __construct(array $grid, array $properties = null) { | |
| 17 | 10 | if(!empty($properties)) |
| 18 | 11 | $properties["grid"] = $grid; |
| 19 | 12 | else |
| 20 | 13 | $properties = array("grid" => $grid); |