@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | /** |
4 | 4 | * /src/Validator/Constraints/EntityReferenceExists.php |
5 | 5 | * |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | * @package App\Validator\Constraints |
26 | 26 | * @author TLe, Tarmo Leppänen <[email protected]> |
27 | 27 | */ |
28 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
28 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
29 | 29 | class EntityReferenceExists extends Constraint |
30 | 30 | { |
31 | 31 | final public const ENTITY_REFERENCE_EXISTS_ERROR = '64888b5e-bded-449b-82ed-0cc1f73df14d'; |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | /** |
4 | 4 | * /src/Validator/Constraints/Locale.php |
5 | 5 | * |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | * @package App\Validator\Constraints |
26 | 26 | * @author TLe, Tarmo Leppänen <[email protected]> |
27 | 27 | */ |
28 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
28 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
29 | 29 | class Locale extends Constraint |
30 | 30 | { |
31 | 31 | final public const INVALID_LOCALE = '44e3862f-2d38-46d4-b1ae-632990814af6'; |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | /** |
4 | 4 | * /src/Validator/Constraints/Language.php |
5 | 5 | * |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | * @package App\Validator\Constraints |
26 | 26 | * @author TLe, Tarmo Leppänen <[email protected]> |
27 | 27 | */ |
28 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
28 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
29 | 29 | class Language extends Constraint |
30 | 30 | { |
31 | 31 | final public const INVALID_LANGUAGE = '08bd61cf-ba27-45a3-9916-78c39253833a'; |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | /** |
4 | 4 | * /src/Validator/Constraints/Timezone.php |
5 | 5 | * |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | * @package App\Validator\Constraints |
26 | 26 | * @author TLe, Tarmo Leppänen <[email protected]> |
27 | 27 | */ |
28 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
28 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
29 | 29 | class Timezone extends Constraint |
30 | 30 | { |
31 | 31 | final public const INVALID_TIMEZONE = '1f8dd2a3-5b61-43ca-a6b2-af553f86ac17'; |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | /** |
4 | 4 | * /src/Validator/Constraints/UniqueEmail.php |
5 | 5 | * |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | * @package App\Validator\Constraints |
26 | 26 | * @author TLe, Tarmo Leppänen <[email protected]> |
27 | 27 | */ |
28 | -#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)] |
|
28 | +#[Attribute(Attribute::TARGET_CLASS|Attribute::IS_REPEATABLE)] |
|
29 | 29 | class UniqueEmail extends Constraint |
30 | 30 | { |
31 | 31 | final public const IS_UNIQUE_EMAIL_ERROR = 'd487278d-8b13-4da0-b4cc-f862e6e99af6'; |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | /** |
4 | 4 | * /src/Validator/Constraints/UniqueUsername.php |
5 | 5 | * |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | * @package App\Validator\Constraints |
26 | 26 | * @author TLe, Tarmo Leppänen <[email protected]> |
27 | 27 | */ |
28 | -#[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)] |
|
28 | +#[Attribute(Attribute::TARGET_CLASS|Attribute::IS_REPEATABLE)] |
|
29 | 29 | class UniqueUsername extends Constraint |
30 | 30 | { |
31 | 31 | final public const IS_UNIQUE_USERNAME_ERROR = 'ea62740a-4d9b-4a25-9a56-46fb4c3d5fea'; |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | /** |
4 | 4 | * /src/Security/SecurityUser.php |
5 | 5 | * |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | class SecurityUser implements UserInterface, PasswordAuthenticatedUserInterface |
24 | 24 | { |
25 | 25 | private readonly string $identifier; |
26 | - private readonly string | null $password; |
|
26 | + private readonly string|null $password; |
|
27 | 27 | private readonly Language $language; |
28 | 28 | private readonly Locale $locale; |
29 | 29 | private readonly string $timezone; |