From: Michael Date: Tue, 14 Feb 2023 20:52:33 +0000 (+0000) Subject: Fix caps X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9a93c8f1c5ee3ce10501ba196db2d5ef22c5927f;p=friendica.git Fix caps --- diff --git a/src/Module/Api/Mastodon/Notifications.php b/src/Module/Api/Mastodon/Notifications.php index a1e99a6358..3cf60b870c 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 31eb22be0e..f47418060c 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(); } /**