From: Hypolite Petovan Date: Sat, 16 Jun 2018 00:54:19 +0000 (-0400) Subject: [twitter] Add type hint to twitter_fetchparentposts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fb0e99ba0e7de50aed141e252b3df9eb9b19ad42;p=friendica-addons.git [twitter] Add type hint to twitter_fetchparentposts --- diff --git a/twitter/twitter.php b/twitter/twitter.php index cc73627a..da103aea 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -1561,7 +1561,7 @@ function twitter_checknotification(App $a, $uid, $own_id, $top_item, $postarray) } } -function twitter_fetchparentposts(App $a, $uid, $post, $connection, $self, $own_id) +function twitter_fetchparentposts(App $a, $uid, $post, TwitterOAuth $connection, $self, $own_id) { logger("twitter_fetchparentposts: Fetching for user " . $uid . " and post " . $post->id_str, LOGGER_DEBUG);