Skip to content

Commit

Permalink
fix zendframework#23 missing method in HashTiming (RandomLib 1.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Sep 15, 2016
1 parent 634123f commit 16291e8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Source/HashTiming.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,17 @@ public static function getStrength()
return new Strength(Strength::VERYLOW);
}

/**
* If the source is currently available.
* Reasons might be because the library is not installed
*
* @return bool
*/
public static function isSupported()
{
return true;
}

/**
* Generate a random string of the specified size
*
Expand Down

0 comments on commit 16291e8

Please sign in to comment.