Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
49 | protected function validateSyntax_numeric_value(): void |
||
50 | { |
||
51 | $value = $this->getRawNumber(); |
||
52 | |||
53 | if(!is_numeric($value)) |
||
54 | { |
||
55 | $this->validationResult->makeError( |
||
56 | t( |
||
57 | '%1$s is not a valid numeric value.', |
||
58 | '"'.trim($this->getValue(), '"').'"' |
||
59 | ), |
||
60 | Mailcode_Commands_CommonConstants::VALIDATION_VALUE_NOT_NUMERIC |
||
61 | ); |
||
65 |