Skip to content

Commit 5cae2bf

Browse files
committed
Merge pull request 'Tumblr: Make it compatible with PHP 7.4.0' (#1370) from heluecht/friendica-addons:tumblr-php-7.4 into 2023.03-rc
Reviewed-on: https://git.friendi.ca/friendica/friendica-addons/pulls/1370
2 parents 8a83cc2 + 972c2da commit 5cae2bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tumblr/tumblr.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ function tumblr_send_npf(array $post): bool
442442
}
443443
}
444444

445-
function tumblr_connection(int $uid): GuzzleHttp\Client|null
445+
function tumblr_connection(int $uid): ?GuzzleHttp\Client
446446
{
447447
$oauth_token = DI::pConfig()->get($uid, 'tumblr', 'oauth_token');
448448
$oauth_token_secret = DI::pConfig()->get($uid, 'tumblr', 'oauth_token_secret');

0 commit comments

Comments
 (0)