mirror of
https://github.com/friendica/friendica
synced 2025-04-26 22:30:18 +00:00
Fix fatal execution path for found Network::get() parameter execption
This commit is contained in:
parent
c51128ad20
commit
1998b7811b
3 changed files with 6 additions and 6 deletions
|
@ -87,7 +87,7 @@ class ActivityPub
|
|||
* @return array
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
*/
|
||||
public static function fetchContent($url, $uid = 0)
|
||||
public static function fetchContent(string $url, int $uid = 0)
|
||||
{
|
||||
if (!empty($uid)) {
|
||||
return HTTPSignature::fetch($url, $uid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue