Fix deprecated constructors

This small change should't prevent easy updates to libraries and fixes the lint check on php7
This commit is contained in:
Tony Murray
2016-08-26 00:35:09 -05:00
parent 63cdd8210d
commit 53b07d7a2a
9 changed files with 12 additions and 12 deletions

View File

@@ -30,7 +30,7 @@ class PasswordHash {
var $portable_hashes;
var $random_state;
function PasswordHash($iteration_count_log2, $portable_hashes)
function __construct($iteration_count_log2, $portable_hashes)
{
$this->itoa64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';