Skip to content

Commit

Permalink
Merge pull request 'Tumblr: Make it compatible with PHP 7.4.0' (#1370…
Browse files Browse the repository at this point in the history
…) from heluecht/friendica-addons:tumblr-php-7.4 into 2023.03-rc

Reviewed-on: https://git.friendi.ca/friendica/friendica-addons/pulls/1370
  • Loading branch information
MrPetovan committed Apr 11, 2023
2 parents 8a83cc2 + 972c2da commit 5cae2bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tumblr/tumblr.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 5cae2bf

Please sign in to comment.