mirror of
https://github.com/friendica/friendica
synced 2025-04-25 20:30:11 +00:00
Changes:
- added some type-hints - added documentation
This commit is contained in:
parent
84d3eecc33
commit
a49fb9cbf9
8 changed files with 64 additions and 19 deletions
|
@ -102,7 +102,7 @@ class UpdateContacts
|
|||
* @param array $ids
|
||||
* @return array contact ids
|
||||
*/
|
||||
private static function getContactsToUpdate(array $condition, int $limit, array $ids = [])
|
||||
private static function getContactsToUpdate(array $condition, int $limit, array $ids = []): array
|
||||
{
|
||||
$contacts = DBA::select('contact', ['id'], $condition, ['limit' => $limit]);
|
||||
while ($contact = DBA::fetch($contacts)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue