diff --git a/src/Module/Api/Mastodon/Notifications.php b/src/Module/Api/Mastodon/Notifications.php index a1e99a635..3cf60b870 100644 --- a/src/Module/Api/Mastodon/Notifications.php +++ b/src/Module/Api/Mastodon/Notifications.php @@ -70,7 +70,7 @@ class Notifications extends BaseApi $condition = ["`uid` = ? AND (NOT `type` IN (?, ?))", $uid, Post\UserNotification::TYPE_ACTIVITY_PARTICIPATION, - POST\UserNotification::TYPE_COMMENT_PARTICIPATION]; + Post\UserNotification::TYPE_COMMENT_PARTICIPATION]; if (!$request['include_all']) { $condition = DBA::mergeConditions($condition, ['dismissed' => false]); diff --git a/src/Network/HTTPClient/Client/HttpClient.php b/src/Network/HTTPClient/Client/HttpClient.php index 31eb22be0..f47418060 100644 --- a/src/Network/HTTPClient/Client/HttpClient.php +++ b/src/Network/HTTPClient/Client/HttpClient.php @@ -261,7 +261,7 @@ class HttpClient implements ICanSendHttpRequests throw new TransferException($urlResult->getErrorMessageString(), $urlResult->getHTTPStatusCode() ?? 0); } - return $urlResult->getURL(); + return $urlResult->getUrl(); } /**