@@ -16,7 +16,7 @@ |
||
| 16 | 16 | * |
| 17 | 17 | * @var string |
| 18 | 18 | */ |
| 19 | - private static string $month_regex = '/^--(0[1-9]|1[012])((\+|-)([0-1][0-9]|2[0-4]):(0[0-9]|[1-5][0-9])|Z)?$/D'; |
|
| 19 | + private static string $month_regex = '/^--(0[1-9]|1[012])((\+|-)([0-1][0-9]|2[0-4]):(0[0-9]|[1-5][0-9])|Z)?$/D'; |
|
| 20 | 20 | |
| 21 | 21 | |
| 22 | 22 | /** |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | * |
| 17 | 17 | * @var string |
| 18 | 18 | */ |
| 19 | - private static string $day_regex = '/^ |
|
| 19 | + private static string $day_regex = '/^ |
|
| 20 | 20 | --- |
| 21 | 21 | (0[1-9]|1[1-9]|2[1-9]|3[01]) |
| 22 | 22 | ([+-]([0-1][0-9]|2[0-4]):(0[0-9]|[1-5][0-9])|Z) |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | trait YearMonthTrait |
| 13 | 13 | { |
| 14 | 14 | /** @var string */ |
| 15 | - private static string $yearmonth_regex = '/^ |
|
| 15 | + private static string $yearmonth_regex = '/^ |
|
| 16 | 16 | -? |
| 17 | 17 | ([1-9][0-9]*|[0-9]{4}) |
| 18 | 18 | - |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * |
| 25 | 25 | * @var string |
| 26 | 26 | */ |
| 27 | - private static string $date_regex = '/^ |
|
| 27 | + private static string $date_regex = '/^ |
|
| 28 | 28 | -? |
| 29 | 29 | ([1-9][0-9]*|[0-9]{4}) |
| 30 | 30 | - |
@@ -142,7 +142,7 @@ |
||
| 142 | 142 | * @param \SimpleSAML\XML\Type\ValueTypeInterface|string $other |
| 143 | 143 | * @return bool |
| 144 | 144 | */ |
| 145 | - public function equals(ValueTypeInterface|string $other): bool |
|
| 145 | + public function equals(ValueTypeInterface | string $other): bool |
|
| 146 | 146 | { |
| 147 | 147 | if (is_string($other)) { |
| 148 | 148 | $other = static::fromString($other); |