Passed
Push — develop ( bb7610...58cba6 )
by nguereza
02:23
created
src/Rule/Password.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,8 +49,7 @@  discard block
 block discarded – undo
49 49
 use Platine\Validator\RuleInterface;
50 50
 use Platine\Validator\Validator;
51 51
 
52
-class Password implements RuleInterface
53
-{
52
+class Password implements RuleInterface {
54 53
     /*
55 54
      * The error type list
56 55
      */
@@ -76,8 +75,7 @@  discard block
 block discarded – undo
76 75
      * Constructor
77 76
      * @param array<string, bool|int> $rules
78 77
      */
79
-    public function __construct(array $rules = [])
80
-    {
78
+    public function __construct(array $rules = []) {
81 79
         $this->rules = array_merge([
82 80
             'length' => 5,
83 81
             'uppercase' => false,
Please login to merge, or discard this patch.