Completed
Push — master ( dd013b...f97877 )
by Maxim
02:18
created
src/Weew/Validator/ValidationError.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Weew/Validator/Constraints/RangeConstraint.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.