Completed
Push — master ( 83639c...e6b957 )
by Alexpts
01:54
created
src/PTS/Validator/Validators/BetweenIntValidator.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,6 +5,6 @@
 block discarded – undo
5 5
 {
6 6
     public function __invoke($value, int $min, int $max): bool
7 7
     {
8
-       return  $value <= $max && $value >= $min;
8
+        return  $value <= $max && $value >= $min;
9 9
     }
10 10
 }
11 11
\ No newline at end of file
Please login to merge, or discard this patch.
src/PTS/Validator/Validators/BoolValidator.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,6 +5,6 @@
 block discarded – undo
5 5
 {
6 6
     public function __invoke($value): bool
7 7
     {
8
-       return filter_var($value, \FILTER_VALIDATE_BOOLEAN);
8
+        return filter_var($value, \FILTER_VALIDATE_BOOLEAN);
9 9
     }
10 10
 }
11 11
\ No newline at end of file
Please login to merge, or discard this patch.
src/PTS/Validator/Validators/RequiredValidator.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     public function __invoke($value): bool
9 9
     {
10 10
         if ($value === null) {
11
-           return false;
11
+            return false;
12 12
         }
13 13
 
14 14
         if (is_string($value) && trim($value) === '') {
Please login to merge, or discard this patch.