[twitter] Add type hint to twitter_fetchparentposts
authorHypolite Petovan <mrpetovan@gmail.com>
Sat, 16 Jun 2018 00:54:19 +0000 (20:54 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Sat, 16 Jun 2018 00:54:19 +0000 (20:54 -0400)
twitter/twitter.php

index cc73627..da103ae 100644 (file)
@@ -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);