mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 07:09:56 +09:00
Fix missing static keyword
This commit is contained in:
parent
a74daeb071
commit
02a45ece9a
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ class Security
|
||||||
* @param string $format
|
* @param string $format
|
||||||
* @return string
|
* @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.
|
// Find out how many bytes of entropy we really need.
|
||||||
switch($format)
|
switch($format)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue