]> git.mxchange.org Git - friendica-addons.git/commitdiff
[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 cc73627a37cd503e4c512e605af915555cd83d31..da103aeadd21ca29c0fd6f893d8bcf4a670dddf6 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);