diff --git a/src/Controller/Network.php b/src/Controller/Network.php index c84601b86e..c906d1bb8b 100644 --- a/src/Controller/Network.php +++ b/src/Controller/Network.php @@ -45,7 +45,7 @@ use Symfony\Component\HttpFoundation\Request; class Network extends Controller { - // Can't have constanst inside herestring + // Can't have constants inside herestring private $public_scope = VisibilityScope::PUBLIC; private $instance_scope = VisibilityScope::PUBLIC | VisibilityScope::SITE; private $message_scope = VisibilityScope::MESSAGE; diff --git a/src/Entity/GSActor.php b/src/Entity/GSActor.php index 4fc3881308..4da2503283 100644 --- a/src/Entity/GSActor.php +++ b/src/Entity/GSActor.php @@ -208,7 +208,7 @@ class GSActor extends Entity public function getAvatarUrl() { $url = null; - Event::handle('get_avatar_url', [$this->getNickname(), &$url]); + Event::handle('GetAvatarUrl', [$this->getId(), &$url]); return $url; }