@@ -18,7 +18,7 @@ |
||
18 | 18 | /** |
19 | 19 | * Validates that the value is a valid json. |
20 | 20 | */ |
21 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
21 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
22 | 22 | final class Json implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface |
23 | 23 | { |
24 | 24 | use SkipOnEmptyTrait; |
@@ -25,7 +25,7 @@ |
||
25 | 25 | * |
26 | 26 | * It also may change the value if normalization of IPv6 expansion is enabled. |
27 | 27 | */ |
28 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
28 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
29 | 29 | final class Ip implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface |
30 | 30 | { |
31 | 31 | use SkipOnEmptyTrait; |
@@ -15,7 +15,7 @@ |
||
15 | 15 | use Yiisoft\Validator\ValidationContext; |
16 | 16 | use Yiisoft\Validator\WhenInterface; |
17 | 17 | |
18 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
18 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
19 | 19 | final class Subset implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface |
20 | 20 | { |
21 | 21 | use SkipOnEmptyTrait; |
@@ -22,7 +22,7 @@ |
||
22 | 22 | /** |
23 | 23 | * Validates an array by checking each of its elements against a set of rules. |
24 | 24 | */ |
25 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
25 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
26 | 26 | final class Each implements |
27 | 27 | RuleWithOptionsInterface, |
28 | 28 | SkipOnErrorInterface, |
@@ -19,7 +19,7 @@ |
||
19 | 19 | * |
20 | 20 | * @psalm-import-type WhenType from WhenInterface |
21 | 21 | */ |
22 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
22 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
23 | 23 | final class AtLeast implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface |
24 | 24 | { |
25 | 25 | use SkipOnEmptyTrait; |
@@ -21,7 +21,7 @@ |
||
21 | 21 | /** |
22 | 22 | * Can be used for validation of nested structures. |
23 | 23 | */ |
24 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
24 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
25 | 25 | final class StopOnError implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface |
26 | 26 | { |
27 | 27 | use SkipOnEmptyTrait; |
@@ -18,7 +18,7 @@ |
||
18 | 18 | use Yiisoft\Validator\ValidationContext; |
19 | 19 | use Yiisoft\Validator\WhenInterface; |
20 | 20 | |
21 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
21 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
22 | 22 | final class Callback implements |
23 | 23 | RuleWithOptionsInterface, |
24 | 24 | SkipOnErrorInterface, |
@@ -18,7 +18,7 @@ |
||
18 | 18 | /** |
19 | 19 | * Checks if the value is a boolean value or a value corresponding to it. |
20 | 20 | */ |
21 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
21 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
22 | 22 | final class Boolean implements RuleWithOptionsInterface, SkipOnEmptyInterface, SkipOnErrorInterface, WhenInterface |
23 | 23 | { |
24 | 24 | use SkipOnEmptyTrait; |
@@ -21,7 +21,7 @@ |
||
21 | 21 | /** |
22 | 22 | * Allows to combine and validate multiple rules. |
23 | 23 | */ |
24 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
24 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
25 | 25 | class Composite implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface |
26 | 26 | { |
27 | 27 | use SkipOnEmptyTrait; |