mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
< PHP5.4 array syntax
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user