Changed:
- added missing type-hint
This commit is contained in:
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user