@@ -22,7 +22,7 @@ |
||
22 | 22 | * |
23 | 23 | * Note, this rule should only be used with strings. |
24 | 24 | */ |
25 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
25 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
26 | 26 | final class HasLength implements |
27 | 27 | SerializableRuleInterface, |
28 | 28 | SkipOnErrorInterface, |
@@ -19,7 +19,7 @@ |
||
19 | 19 | * are checked byte by byte. When validating numbers, make sure to change {@see GreaterThan::$type} to |
20 | 20 | * {@see GreaterThan::TYPE_NUMBER} to enable numeric validation. |
21 | 21 | */ |
22 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
22 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
23 | 23 | final class GreaterThan extends Compare |
24 | 24 | { |
25 | 25 | public function __construct( |
@@ -19,7 +19,7 @@ |
||
19 | 19 | * are checked byte by byte. When validating numbers, make sure to change {@see LessThan::$type} to |
20 | 20 | * {@see LessThan::TYPE_NUMBER} to enable numeric validation. |
21 | 21 | */ |
22 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
22 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
23 | 23 | final class LessThan extends Compare |
24 | 24 | { |
25 | 25 | public function __construct( |
@@ -19,7 +19,7 @@ |
||
19 | 19 | * are checked byte by byte. When validating numbers, make sure to change {@see GreaterThanOrEqual::$type} to |
20 | 20 | * {@see GreaterThanOrEqual::TYPE_NUMBER} to enable numeric validation. |
21 | 21 | */ |
22 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
22 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
23 | 23 | final class GreaterThanOrEqual extends Compare |
24 | 24 | { |
25 | 25 | public function __construct( |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * or {@see Number::$numberPattern}. Optionally, you may configure the {@see Number::min()} and {@see Number::max()} |
23 | 23 | * to ensure the number is within certain range. |
24 | 24 | */ |
25 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
25 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
26 | 26 | final class Number implements SerializableRuleInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface |
27 | 27 | { |
28 | 28 | use SkipOnEmptyTrait; |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * If the {@see In::$not} is set, the validation logic is inverted and the rule will ensure that the value is NOT one of |
21 | 21 | * them. |
22 | 22 | */ |
23 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
23 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
24 | 24 | final class In implements SerializableRuleInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface |
25 | 25 | { |
26 | 26 | use SkipOnEmptyTrait; |
@@ -22,7 +22,7 @@ |
||
22 | 22 | /** |
23 | 23 | * Validates that the value is a valid email address. |
24 | 24 | */ |
25 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
25 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
26 | 26 | final class Email implements SerializableRuleInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface |
27 | 27 | { |
28 | 28 | use SkipOnEmptyTrait; |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * Validates that the value contains certain number of items. Can be applied to arrays or classes implementing |
23 | 23 | * {@see Countable} interface. |
24 | 24 | */ |
25 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
25 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
26 | 26 | final class Count implements |
27 | 27 | SerializableRuleInterface, |
28 | 28 | SkipOnErrorInterface, |
@@ -21,7 +21,7 @@ |
||
21 | 21 | * |
22 | 22 | * If the {@see Regex::$not} is used, the rule will ensure the value do NOT match the pattern. |
23 | 23 | */ |
24 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
24 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
25 | 25 | final class Regex implements SerializableRuleInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface |
26 | 26 | { |
27 | 27 | use SkipOnEmptyTrait; |