ActivityPub: Fix syntax error

This commit is contained in:
veselcraft 2021-12-28 21:03:11 +03:00
parent ca3cc49d35
commit d0a38c8df1
No known key found for this signature in database
GPG key ID: AED66BC1AC628A4E

View file

@ -109,7 +109,7 @@ class User extends RowModel
return ovk_scheme(true) . $_SERVER["SERVER_NAME"] . "/id" . $this->getId(); return ovk_scheme(true) . $_SERVER["SERVER_NAME"] . "/id" . $this->getId();
} }
function getAvatarUrl(bool $nullForDel = false): string function getAvatarUrl(bool $nullForDel = false): ?string
{ {
$serverUrl = ovk_scheme(true) . $_SERVER["SERVER_NAME"]; $serverUrl = ovk_scheme(true) . $_SERVER["SERVER_NAME"];