Passed
Push — develop ( 58cba6...dd1d01 )
by nguereza
12:49
created
src/Rule/Max.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,13 +59,13 @@
 block discarded – undo
59 59
      * Value to compare against
60 60
      * @var string|float|int|bool|null
61 61
      */
62
-    protected string|float|int|bool|null $value;
62
+    protected string | float | int | bool | null $value;
63 63
 
64 64
     /**
65 65
      * Constructor
66 66
      * @param string|float|int|bool|null $value the value to compare against
67 67
      */
68
-    public function __construct(string|float|int|bool|null $value)
68
+    public function __construct(string | float | int | bool | null $value)
69 69
     {
70 70
         $this->value = $value;
71 71
     }
Please login to merge, or discard this patch.
src/Rule/Range.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -59,13 +59,13 @@  discard block
 block discarded – undo
59 59
      * Minimum Value to compare against
60 60
      * @var string|float|int|bool|null
61 61
      */
62
-    protected string|float|int|bool|null $min;
62
+    protected string | float | int | bool | null $min;
63 63
 
64 64
     /**
65 65
      * Maximum Value to compare against
66 66
      * @var string|float|int|bool|null
67 67
      */
68
-    protected string|float|int|bool|null $max;
68
+    protected string | float | int | bool | null $max;
69 69
 
70 70
     /**
71 71
      * Constructor
@@ -73,8 +73,8 @@  discard block
 block discarded – undo
73 73
      * @param string|float|int|bool|null $max the maximum value to compare against
74 74
      */
75 75
     public function __construct(
76
-        string|float|int|bool|null $min,
77
-        string|float|int|bool|null $max
76
+        string | float | int | bool | null $min,
77
+        string | float | int | bool | null $max
78 78
     ) {
79 79
         $this->min = $min;
80 80
         $this->max = $max;
Please login to merge, or discard this patch.
src/Rule/Min.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,13 +59,13 @@
 block discarded – undo
59 59
      * Value to compare against
60 60
      * @var string|float|int|bool|null
61 61
      */
62
-    protected string|float|int|bool|null $value;
62
+    protected string | float | int | bool | null $value;
63 63
 
64 64
     /**
65 65
      * Constructor
66 66
      * @param string|float|int|bool|null $value the value to compare against
67 67
      */
68
-    public function __construct(string|float|int|bool|null $value)
68
+    public function __construct(string | float | int | bool | null $value)
69 69
     {
70 70
         $this->value = $value;
71 71
     }
Please login to merge, or discard this patch.
src/Rule/Regex.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
      */
77 77
     public function validate(string $field, mixed $value, Validator $validator): bool
78 78
     {
79
-        return (bool) preg_match($this->regex, (string)$value);
79
+        return (bool) preg_match($this->regex, (string) $value);
80 80
     }
81 81
 
82 82
     /**
Please login to merge, or discard this patch.