Increase PHPStan levels and update code to resolve issues found

This commit is contained in:
SignpostMarv
2018-01-27 19:45:35 +00:00
committed by Ben Ramsey
parent a2ba41740c
commit 0030399564
26 changed files with 82 additions and 84 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ class CombGenerator implements RandomGeneratorInterface
$lsbTime = str_pad($this->converter->toHex($this->timestamp()), self::TIMESTAMP_BYTES * 2, '0', STR_PAD_LEFT);
return hex2bin(str_pad(bin2hex($hash), $length - self::TIMESTAMP_BYTES, '0') . $lsbTime);
return (string) hex2bin(str_pad(bin2hex($hash), $length - self::TIMESTAMP_BYTES, '0') . $lsbTime);
}
/**