- Address https://github.com/friendica/friendica/issues/9250#issuecomment-
743407998
$network = $data["network"];
// Canonicalize email-style profile locator
- $url = Probe::webfingerDfrn($data['url'], $hcard);
+ $url = Probe::webfingerDfrn($data['url'] ?? $url, $hcard);
if (substr($url, 0, 5) === 'stat:') {
// Every time we detect the remote subscription we define this as OStatus.
* @return string profile link
* @throws HTTPException\InternalServerErrorException
*/
- public static function webfingerDfrn($webbie, &$hcard_url)
+ public static function webfingerDfrn(string $webbie, string &$hcard_url)
{
$profile_link = '';