]> git.mxchange.org Git - friendica.git/commitdiff
Case changed
authorMichael <heluecht@pirati.ca>
Sun, 2 Oct 2022 04:51:00 +0000 (04:51 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 2 Oct 2022 04:51:00 +0000 (04:51 +0000)
src/Protocol/ActivityPub/Transmitter.php

index 96f39e2c167104435d67cc35d8dad64e9264d726..38482d3ec95f83dab1191745305e794b49b824dc 100644 (file)
@@ -1664,7 +1664,7 @@ class Transmitter
 
                        $shared = BBCode::fetchShareAttributes($body);
                        if (!empty($shared['link']) && !empty($shared['guid']) && !empty($shared['comment'])) {
-                               $body = self::ReplaceSharedData($body);
+                               $body = self::replaceSharedData($body);
                                $data['quoteUrl'] = $shared['link'];
                        }
 
@@ -1680,7 +1680,7 @@ class Transmitter
 
                        $shared = BBCode::fetchShareAttributes($richbody);
                        if (!empty($shared['link']) && !empty($shared['guid']) && !empty($shared['comment'])) {
-                               $richbody = self::ReplaceSharedData($richbody);
+                               $richbody = self::replaceSharedData($richbody);
                        }
 
                        $richbody = BBCode::removeAttachment($richbody);
@@ -1716,7 +1716,7 @@ class Transmitter
         * @param string $body
         * @return string
         */
-       private static function ReplaceSharedData(string $body): string
+       private static function replaceSharedData(string $body): string
        {
                return BBCode::convertShare(
                        $body,