@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare( strict_types=1 ); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace WMDE\Fundraising\AddressChangeContext\Domain\Model; |
5 | 5 |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare( strict_types=1 ); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace WMDE\Fundraising\AddressChangeContext; |
5 | 5 | |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | return strval( self::assertScalarType( $value ) ); |
26 | 26 | } |
27 | 27 | |
28 | - private static function assertScalarType( mixed $value ): int|string|bool|float { |
|
28 | + private static function assertScalarType( mixed $value ): int | string | bool | float { |
|
29 | 29 | if ( is_scalar( $value ) ) { |
30 | 30 | return $value; |
31 | 31 | } |