Some fixes:

- $gsid's default value cannot sadly be 0, it now must be null to allow some
  code work
- added some more type-hints
- documented a bit more
This commit is contained in:
Roland Häder 2022-06-16 20:42:40 +02:00
parent 4e53666c70
commit 33768ea1c6
8 changed files with 21 additions and 15 deletions

View file

@ -1445,7 +1445,7 @@ class Probe
* @return array|bool OStatus data or "false" on error or "true" on short mode
* @throws HTTPException\InternalServerErrorException
*/
private static function ostatus($webfinger, $short = false)
private static function ostatus(array $webfinger, bool $short = false)
{
$data = [];