@@ -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 Boolean implements RuleWithOptionsInterface, SkipOnEmptyInterface, SkipOnErrorInterface, WhenInterface |
| 24 | 24 | { |
| 25 | 25 | use SkipOnEmptyTrait; |
@@ -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 Json implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface |
| 24 | 24 | { |
| 25 | 25 | use SkipOnEmptyTrait; |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | * |
| 24 | 24 | * @psalm-import-type WhenType from WhenInterface |
| 25 | 25 | */ |
| 26 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
| 26 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
| 27 | 27 | final class Each implements |
| 28 | 28 | RuleWithOptionsInterface, |
| 29 | 29 | SkipOnErrorInterface, |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | * |
| 24 | 24 | * @psalm-import-type WhenType from WhenInterface |
| 25 | 25 | */ |
| 26 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
| 26 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
| 27 | 27 | final class Count implements |
| 28 | 28 | RuleWithOptionsInterface, |
| 29 | 29 | SkipOnErrorInterface, |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | * |
| 39 | 39 | * @psalm-import-type WhenType from WhenInterface |
| 40 | 40 | */ |
| 41 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
| 41 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
| 42 | 42 | final class Nested implements |
| 43 | 43 | RuleWithOptionsInterface, |
| 44 | 44 | SkipOnErrorInterface, |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | * |
| 26 | 26 | * @psalm-import-type WhenType from WhenInterface |
| 27 | 27 | */ |
| 28 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
| 28 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
| 29 | 29 | final class Url implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface |
| 30 | 30 | { |
| 31 | 31 | use SkipOnEmptyTrait; |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | * |
| 22 | 22 | * @psalm-import-type WhenType from WhenInterface |
| 23 | 23 | */ |
| 24 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
| 24 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
| 25 | 25 | final class In implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface |
| 26 | 26 | { |
| 27 | 27 | use SkipOnEmptyTrait; |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | * |
| 22 | 22 | * @psalm-import-type WhenType from WhenInterface |
| 23 | 23 | */ |
| 24 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
| 24 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
| 25 | 25 | final class IsTrue implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface |
| 26 | 26 | { |
| 27 | 27 | use SkipOnEmptyTrait; |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | * |
| 22 | 22 | * @psalm-import-type WhenType from WhenInterface |
| 23 | 23 | */ |
| 24 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
| 24 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
| 25 | 25 | final class NotEqual extends Compare |
| 26 | 26 | { |
| 27 | 27 | public function __construct( |
@@ -69,9 +69,9 @@ discard block |
||
| 69 | 69 | message: $this->message, |
| 70 | 70 | type: $this->type, |
| 71 | 71 | operator: $this->strict ? '!==' : '!=', |
| 72 | - skipOnEmpty: $skipOnEmpty, |
|
| 73 | - skipOnError: $this->skipOnError, |
|
| 74 | - when: $this->when, |
|
| 72 | + skipOnEmpty : $skipOnEmpty, |
|
| 73 | + skipOnError : $this->skipOnError, |
|
| 74 | + when : $this->when, |
|
| 75 | 75 | ); |
| 76 | 76 | } |
| 77 | 77 | |