mirror of
https://github.com/friendica/friendica
synced 2024-12-23 00:00:21 +00:00
Code standards
This commit is contained in:
parent
30d10c60d2
commit
cfc639ffe4
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue