From: Michael Vogel <icarus@dabo.de>
Date: Sun, 3 Oct 2021 19:49:55 +0000 (+0200)
Subject: Apply suggestions from code review
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e1ac33576a78c4860fabcbd5ab314970a0e6e4a8;p=friendica.git

Apply suggestions from code review

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
---

diff --git a/include/api.php b/include/api.php
index 8566c1706b..b6f2ab889f 100644
--- a/include/api.php
+++ b/include/api.php
@@ -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);