From fb0e99ba0e7de50aed141e252b3df9eb9b19ad42 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 15 Jun 2018 20:54:19 -0400 Subject: [PATCH] [twitter] Add type hint to twitter_fetchparentposts --- twitter/twitter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5