]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Api/Twitter/Statuses/HomeTimeline.php
Standards
[friendica.git] / src / Module / Api / Twitter / Statuses / HomeTimeline.php
index b6fef00fa3e1dc85c0fbd60f32f8609e32f9a9e7..f17a0cd5d6b6c35e2f15331ec659a7db662cb855 100644 (file)
@@ -43,10 +43,10 @@ class HomeTimeline extends BaseApi
                // get last network messages
 
                // params
-               $count           = $_REQUEST['count'] ?? 20;
-               $page            = $_REQUEST['page']?? 0;
+               $count           = $_REQUEST['count']    ?? 20;
+               $page            = $_REQUEST['page']     ?? 0;
                $since_id        = $_REQUEST['since_id'] ?? 0;
-               $max_id          = $_REQUEST['max_id'] ?? 0;
+               $max_id          = $_REQUEST['max_id']   ?? 0;
                $exclude_replies = !empty($_REQUEST['exclude_replies']);
                $conversation_id = $_REQUEST['conversation_id'] ?? 0;
 
@@ -68,7 +68,7 @@ class HomeTimeline extends BaseApi
                        $condition[] = $conversation_id;
                }
 
-               $params = ['order' => ['id' => true], 'limit' => [$start, $count]];
+               $params   = ['order' => ['id' => true], 'limit' => [$start, $count]];
                $statuses = Post::selectForUser($uid, [], $condition, $params);
 
                $include_entities = strtolower(($_REQUEST['include_entities'] ?? 'false') == 'true');