Tumblr: Make it compatible with PHP 7.4.0

pull/1370/head
Michael 2023-04-11 14:56:52 +00:00
parent 8a83cc2886
commit 972c2da98e
1 changed files with 1 additions and 1 deletions

View File

@ -442,7 +442,7 @@ function tumblr_send_npf(array $post): bool
}
}
function tumblr_connection(int $uid): GuzzleHttp\Client|null
function tumblr_connection(int $uid): ?GuzzleHttp\Client
{
$oauth_token = DI::pConfig()->get($uid, 'tumblr', 'oauth_token');
$oauth_token_secret = DI::pConfig()->get($uid, 'tumblr', 'oauth_token_secret');