mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-23 05:29:52 +05:30
< PHP5.4 array syntax
This commit is contained in:
parent
2c1dedfe8a
commit
8de2cdb1d9
@ -16,6 +16,6 @@ class SecureKey
|
||||
throw new Exception('Error Generating Key');
|
||||
}
|
||||
|
||||
return substr(str_replace(['/', '+', '='], '', base64_encode($bytes)), 0, $len);
|
||||
return substr(str_replace(array('/', '+', '='), '', base64_encode($bytes)), 0, $len);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user