Changed:
- added missing type-hint
This commit is contained in:
parent
c5a4a07a55
commit
80afe13a26
1 changed files with 1 additions and 1 deletions
|
@ -2560,7 +2560,7 @@ class Contact
|
||||||
* @throws HTTPException\InternalServerErrorException
|
* @throws HTTPException\InternalServerErrorException
|
||||||
* @throws \ImagickException
|
* @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]);
|
$contact = DBA::selectFirst('contact', ['uid', 'url'], ['id' => $id]);
|
||||||
if (!DBA::isResult($contact)) {
|
if (!DBA::isResult($contact)) {
|
||||||
|
|
Loading…
Reference in a new issue