mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 08:43:40 +00:00
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 = DI::pConfig()->get($uid, 'tumblr', 'oauth_token');
|
||||||
$oauth_token_secret = DI::pConfig()->get($uid, 'tumblr', 'oauth_token_secret');
|
$oauth_token_secret = DI::pConfig()->get($uid, 'tumblr', 'oauth_token_secret');
|
||||||
|
|
Loading…
Reference in a new issue