@@ -106,7 +106,7 @@ |
||
106 | 106 | $guessableData = array_merge($guessableData, $password->getGuessableData()); |
107 | 107 | } |
108 | 108 | |
109 | - foreach ($this->formatter->apply(CharTree::fromString((string)$password)) as $formattedPassword) { |
|
109 | + foreach ($this->formatter->apply(CharTree::fromString((string) $password)) as $formattedPassword) { |
|
110 | 110 | foreach ($guessableData as $data) { |
111 | 111 | if ($this->contains($formattedPassword, $data)) { |
112 | 112 | return $data; |
@@ -63,7 +63,7 @@ |
||
63 | 63 | $charTrees = []; |
64 | 64 | |
65 | 65 | foreach ($this->codeMap->getMap($charTree) as $char => $codedChars) { |
66 | - $branch = $this->applyInternal($charTree->getBranchesAfterRoot((string)$char)); |
|
66 | + $branch = $this->applyInternal($charTree->getBranchesAfterRoot((string) $char)); |
|
67 | 67 | |
68 | 68 | foreach ($codedChars as $codedChar) { |
69 | 69 | $charTrees[] = CharTree::fromString($codedChar, [$branch]); |