]> git.mxchange.org Git - friendica.git/commitdiff
Apply suggestions from code review
authorMichael Vogel <icarus@dabo.de>
Sun, 8 Jan 2023 12:00:58 +0000 (13:00 +0100)
committerGitHub <noreply@github.com>
Sun, 8 Jan 2023 12:00:58 +0000 (13:00 +0100)
Co-authored-by: Philipp <admin+Github@philipp.info>
src/Module/OStatus/PubSub.php
src/Module/OStatus/PubSubHubBub.php
src/Module/OStatus/Salmon.php

index c4614855ca4107de53ad8405e36b8cab18410e5f..5fbc5298369d262132e8d866da26ba9357c2d62c 100644 (file)
@@ -58,7 +58,7 @@ class PubSub extends \Friendica\BaseModule
 
                $this->logger->info('Feed arrived.', ['from' =>  $this->request->getRemoteAddress(), 'for' => $this->args->getCommand(), 'user-agent' => $this->server['HTTP_USER_AGENT']]);
                $this->logger->debug('Data stream.', ['xml' => $xml]);
-               $this->logger->debug('Gut request data.', ['request' => $request]);
+               $this->logger->debug('Got request data.', ['request' => $request]);
 
                $nickname   = $this->parameters['nickname'] ?? '';
                $contact_id = $this->parameters['cid']      ?? 0;
index de2104b212e93c434912bd2bb46b3c8a6d52e024..caaa31f98b18646bc4fdd4d1188ba483f28a5c4c 100644 (file)
@@ -71,7 +71,7 @@ class PubSubHubBub extends \Friendica\BaseModule
                        throw new HTTPException\ForbiddenException();
                }
 
-               $this->logger->debug('Gut request data.', ['request' => $request]);
+               $this->logger->debug('Got request data.', ['request' => $request]);
 
                // Subscription request from subscriber
                // https://pubsubhubbub.github.io/PubSubHubbub/pubsubhubbub-core-0.4.html#rfc.section.5.1
index 64dcec22cff3ec6d775b10756436eb9edda9bdf0..889d852d961f955437253ca0e8b1403ba299c128 100644 (file)
@@ -65,7 +65,7 @@ class Salmon extends \Friendica\BaseModule
        protected function post(array $request = [])
        {
                $xml = Network::postdata();
-               $this->logger->debug('Gut request data.', ['request' => $request]);
+               $this->logger->debug('Got request data.', ['request' => $request]);
 
                $nickname = $this->parameters['nickname'] ?? '';
                if (empty($nickname)) {