From: Michael Date: Sat, 2 Sep 2023 15:55:50 +0000 (+0000) Subject: Code standards X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cfc639ffe4fc6e74721d3cbc68a08b0b2845d5d0;p=friendica.git Code standards --- diff --git a/src/Model/Post/Engagement.php b/src/Model/Post/Engagement.php index 3a54ee0f42..7e35723713 100644 --- a/src/Model/Post/Engagement.php +++ b/src/Model/Post/Engagement.php @@ -104,10 +104,10 @@ class Engagement Logger::debug('Engagement stored', ['fields' => $engagement, 'ret' => $ret]); } - private static function getMediaType(int $uri_id) : int + private static function getMediaType(int $uri_id): int { $media = Post\Media::getByURIId($uri_id); - $type = 0; + $type = 0; foreach ($media as $entry) { if ($entry['type'] == Post\Media::IMAGE) { $type = $type | 1;