mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-10 22:02:05 +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');
|
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…
x
Reference in New Issue
Block a user