Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rand.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ abstract class Rand
public static function getBytes($length, $strong = false)
{
$length = (int) $length;

if ($length <= 0) {
return false;
}
Expand Down

0 comments on commit 869a217

Please sign in to comment.