forked from friendica/friendica-addons
Tumblr: Make it compatible with PHP 7.4.0
This commit is contained in:
parent
8a83cc2886
commit
972c2da98e
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue