Skip to content

Commit

Permalink
Merge pull request #19 from paragonie-scott/patch-1
Browse files Browse the repository at this point in the history
Fix exception on PHP 7.1
  • Loading branch information
bjeavons authored Jan 6, 2017
2 parents 8e7978a + 3ecd8ae commit 331a889
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Matchers/L33tMatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public static function match($password, array $userInputs = array())
foreach ($results as $result) {
// Set substituted elements.
$result['sub'] = array();
$result['sub_display'] = '';
$result['sub_display'] = array();
foreach ($indexSubs as $i => $t) {
$result['sub'][$password[$i]] = $t;
$result['sub_display'][] = "$password[$i] -> $t";
Expand Down Expand Up @@ -190,4 +190,4 @@ protected static function getSubstitutions($password)

return $map;
}
}
}

0 comments on commit 331a889

Please sign in to comment.