]> git.mxchange.org Git - friendica.git/commitdiff
Fixed indenting
authorRoland Häder <roland@mxchange.org>
Sat, 18 Jun 2022 03:04:04 +0000 (05:04 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 18 Jun 2022 03:04:14 +0000 (05:04 +0200)
src/Protocol/Diaspora.php

index 7c1c674a43de7027c9cdde480a59594fbd782269..c0a338344b9c054766e2e10ba5f0ea0d6b9334af 100644 (file)
@@ -303,9 +303,11 @@ class Diaspora
                        }
                }
 
-               return ['message' => (string)Strings::base64UrlDecode($base->data),
-                               'author' => XML::unescape($author_addr),
-                               'key' => (string)$key];
+               return [
+                       'message' => (string)Strings::base64UrlDecode($base->data),
+                       'author' => XML::unescape($author_addr),
+                       'key' => (string)$key
+               ];
        }
 
        /**
@@ -445,9 +447,11 @@ class Diaspora
 
                Logger::notice('Message verified.');
 
-               return ['message' => (string)$inner_decrypted,
-                               'author' => XML::unescape($author_link),
-                               'key' => (string)$key];
+               return [
+                       'message' => (string)$inner_decrypted,
+                       'author' => XML::unescape($author_link),
+                       'key' => (string)$key
+               ];
        }