@@ -47,7 +47,7 @@ |
||
47 | 47 | * @return string |
48 | 48 | */ |
49 | 49 | public function getMessage() { |
50 | - return $this->getConstraint()->getMessage(); |
|
50 | + return $this->getConstraint()->getMessage(); |
|
51 | 51 | } |
52 | 52 | |
53 | 53 | /** |
@@ -44,7 +44,7 @@ |
||
44 | 44 | * @return bool |
45 | 45 | */ |
46 | 46 | public function check($value, IValidationData $data = null) { |
47 | - if(is_numeric($value)){ |
|
47 | + if (is_numeric($value)) { |
|
48 | 48 | return $value >= $this->min && $value <= $this->max; |
49 | 49 | } |
50 | 50 |