Merge remote-tracking branch 'upstream/develop' into lemmy

This commit is contained in:
Michael 2023-06-18 17:38:39 +00:00
commit 8a50101eea
21 changed files with 203 additions and 182 deletions

View file

@ -2595,7 +2595,7 @@ class Contact
* @throws HTTPException\InternalServerErrorException
* @throws \ImagickException
*/
public static function updateFromProbe(int $id, string $network = '')
public static function updateFromProbe(int $id, string $network = ''): bool
{
$contact = DBA::selectFirst('contact', ['uid', 'url'], ['id' => $id]);
if (!DBA::isResult($contact)) {