Reformatted code

This commit is contained in:
Roland Häder 2022-06-23 16:03:55 +02:00
parent 5699b03e8d
commit fd8f4269ff
No known key found for this signature in database
GPG key ID: C82EDE5DDFA0BA77
14 changed files with 138 additions and 155 deletions

View file

@ -261,7 +261,7 @@ class Relation
}
/**
* Returns an array of sugguested contacts for given user id
* Returns an array of suggested contacts for given user id
*
* @param int $uid User id
* @param int $start optional, default 0
@ -288,13 +288,8 @@ class Relation
AND NOT `hidden` AND `network` IN (?, ?, ?, ?)",
$cid,
0,
$uid,
Contact::FRIEND,
Contact::SHARING,
Protocol::ACTIVITYPUB,
Protocol::DFRN,
$diaspora,
$ostatus,
$uid, Contact::FRIEND, Contact::SHARING,
Protocol::ACTIVITYPUB, Protocol::DFRN, $diaspora, $ostatus,
], [
'order' => ['last-item' => true],
'limit' => $totallimit,