← All changes
|
backend/src/ValueObjects/Field/TimeFieldGeneralSettings.php
+1
-6
0.9
→
1.5.1
View file →
| @@ -6,13 +6,8 @@ | ||
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | 8 | namespace IvyForms\ValueObjects\Field; |
| 9 | 9 | |
| 10 | -// phpcs:disable PSR1.Files.SideEffects | |
| 11 | -if (!defined('ABSPATH')) { | |
| 12 | - exit; // Exit if accessed directly | |
| 13 | -} | |
| 14 | - | |
| 15 | 10 | /** |
| 16 | 11 | * Class TimeFieldGeneralSettings |
| 17 | 12 | * |
| 18 | 13 | * Encapsulates time-specific settings extracted from FieldGeneralSettings. |
| @@ -48,9 +43,9 @@ | ||
| 48 | 43 | bool $limitTimeRange, |
| 49 | 44 | string $timeFieldType = '', |
| 50 | 45 | string $timeFormat = '', |
| 51 | 46 | ?string $minTimeValue = null, |
| 52 | - ?string $maxTimeValue = null, | |
| 47 | + ?string $maxTimeValue = null | |
| 53 | 48 | ) { |
| 54 | 49 | $this->timeFieldType = $timeFieldType; |
| 55 | 50 | $this->timeFormat = $timeFormat; |
| 56 | 51 | $this->minTimeValue = $minTimeValue; |