Fix missing static keyword

This commit is contained in:
Kijin Sung 2016-08-16 21:55:32 +09:00
parent a74daeb071
commit 02a45ece9a

View file

@ -153,7 +153,7 @@ class Security
* @param string $format
* @return string
*/
public function getRandom($length = 32, $format = 'alnum')
public static function getRandom($length = 32, $format = 'alnum')
{
// Find out how many bytes of entropy we really need.
switch($format)