]> git.mxchange.org Git - friendica.git/commitdiff
Code standards
authorMichael <heluecht@pirati.ca>
Sat, 2 Sep 2023 15:55:50 +0000 (15:55 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 2 Sep 2023 15:55:50 +0000 (15:55 +0000)
src/Model/Post/Engagement.php

index 3a54ee0f429844c96e7c1c851186a11bc53d66ad..7e35723713ed9316b48802ab21c52f60d9469701 100644 (file)
@@ -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;