Passed
Push — master ( 5be2ac...dd6b03 )
by Magnar Ovedal
03:09
created
src/Rule/CharacterClass.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     {
38 38
         $this->constraints[] = new Count($min, $max, $weight);
39 39
 
40
-        StableSort::usort($this->constraints, function (Count $a, Count $b): int {
40
+        StableSort::usort($this->constraints, function(Count $a, Count $b): int {
41 41
             return $b->getWeight() <=> $a->getWeight();
42 42
         });
43 43
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      */
53 53
     public function test($password): bool
54 54
     {
55
-        $count = $this->getCount((string)$password);
55
+        $count = $this->getCount((string) $password);
56 56
         $constraint = $this->getViolation($count);
57 57
 
58 58
         return $constraint === null;
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      */
67 67
     public function enforce($password): void
68 68
     {
69
-        $count = $this->getCount((string)$password);
69
+        $count = $this->getCount((string) $password);
70 70
         $constraint = $this->getViolation($count);
71 71
 
72 72
         if ($constraint !== null) {
Please login to merge, or discard this patch.