@@ -42,7 +42,7 @@ |
||
42 | 42 | { |
43 | 43 | $this->constraints[] = new Date($min, $max, $weight); |
44 | 44 | |
45 | - StableSort::usort($this->constraints, function (Date $a, Date $b): int { |
|
45 | + StableSort::usort($this->constraints, function(Date $a, Date $b): int { |
|
46 | 46 | return $b->getWeight() <=> $a->getWeight(); |
47 | 47 | }); |
48 | 48 |
@@ -133,7 +133,7 @@ |
||
133 | 133 | $guessableData = array_merge($guessableData, $password->getGuessableData()); |
134 | 134 | } |
135 | 135 | |
136 | - foreach ($this->getWordsToCheck((string)$password) as $word) { |
|
136 | + foreach ($this->getWordsToCheck((string) $password) as $word) { |
|
137 | 137 | foreach ($guessableData as $data) { |
138 | 138 | if ($this->contains($word, $data)) { |
139 | 139 | return $data; |