PluginProbe
The Innovative Form Builder – IvyForms / 1.5
The Innovative Form Builder – IvyForms v1.5
1.5.1 1.5 1.4.1 1.4 trunk 0.1.2 0.2 0.2.1 0.3 0.3.1 0.4 0.5 0.6 0.6.1 0.6.1-backup 0.6.1.1 0.7 0.8 0.8.1 0.8.2 0.9 0.9.1 1.0 1.1 1.1.1 All 27 releases
← All changes | backend/src/ValueObjects/FieldOptions/FieldOptions.php +0 -7 0.7 → 1.5 View file →
@@ -9,13 +9,8 @@
9 9
10 10 use IvyForms\Common\Exceptions\ValidationException;
11 11 use IvyForms\Services\Translations\BackendStrings;
12 12
13 -// phpcs:disable PSR1.Files.SideEffects
14 -if (!defined('ABSPATH')) {
15 - exit; // Exit if accessed directly
16 -}
17 -
18 13 final class FieldOptions
19 14 {
20 15 /**
21 16 * @var int
@@ -166,10 +161,8 @@
166 161 public function getPosition(): int
167 162 {
168 163 return $this->position;
169 164 }
170 -
171 -
172 165 /**
173 166 * @return array<string, int|string|bool>
174 167 */
175 168 public function toArray(): array