]> git.mxchange.org Git - friendica.git/commitdiff
Apply suggestions from code review
authorMichael Vogel <icarus@dabo.de>
Sun, 3 Oct 2021 19:49:55 +0000 (21:49 +0200)
committerGitHub <noreply@github.com>
Sun, 3 Oct 2021 19:49:55 +0000 (21:49 +0200)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
include/api.php

index 8566c1706b5b6dce2fd3ca6dfc5020c78db91a53..b6f2ab889f9d108e9288b19c6bcc6368916d422f 100644 (file)
@@ -2056,7 +2056,7 @@ function api_statuses_repeat($type)
                $id = intval(DI::args()->getArgv()[4] ?? 0);
        }
 
-       logger::notice('API: api_statuses_repeat: '.$id);
+       logger::notice('API: api_statuses_repeat: ' . $id);
 
        $fields = ['uri-id', 'network', 'body', 'title', 'author-name', 'author-link', 'author-avatar', 'guid', 'created', 'plink'];
        $item = Post::selectFirst($fields, ['id' => $id, 'private' => [Item::PUBLIC, Item::UNLISTED]]);
@@ -2139,7 +2139,7 @@ function api_statuses_destroy($type)
                $id = intval(DI::args()->getArgv()[4] ?? 0);
        }
 
-       logger::notice('API: api_statuses_destroy: '.$id);
+       logger::notice('API: api_statuses_destroy: ' . $id);
 
        $ret = api_statuses_show($type);