Fix incorrect return type

This commit is contained in:
Tetrakern 2023-01-26 10:05:00 +01:00
parent b0924e7ef3
commit f05bedafed

View File

@ -677,7 +677,7 @@ if ( ! function_exists( 'fictioneer_get_oauth_client_credentials' ) ) {
* @param string $type Optional. The type of credential to retrieve,
* 'id' or 'secret'. Default 'id'.
*
* @return string|boolean The client ID or secret, or false if not found.
* @return string|null The client ID or secret, or null if not found.
*/
function fictioneer_get_oauth_client_credentials( $channel, $type = 'id' ) {