Skip to content

Commit 331a889

Browse files
authored
Merge pull request #19 from paragonie-scott/patch-1
Fix exception on PHP 7.1
2 parents 8e7978a + 3ecd8ae commit 331a889

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Matchers/L33tMatch.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public static function match($password, array $userInputs = array())
4949
foreach ($results as $result) {
5050
// Set substituted elements.
5151
$result['sub'] = array();
52-
$result['sub_display'] = '';
52+
$result['sub_display'] = array();
5353
foreach ($indexSubs as $i => $t) {
5454
$result['sub'][$password[$i]] = $t;
5555
$result['sub_display'][] = "$password[$i] -> $t";
@@ -190,4 +190,4 @@ protected static function getSubstitutions($password)
190190

191191
return $map;
192192
}
193-
}
193+
}

0 commit comments

Comments
 (0)