mirror of
https://github.com/friendica/friendica
synced 2025-04-16 22:39:02 +00:00
Fixed codestyle
This commit is contained in:
parent
aad362fee3
commit
860dbacf1b
1 changed files with 2 additions and 2 deletions
|
@ -170,7 +170,7 @@ class Processor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$item['source'] = json_encode($post);
|
$item['source'] = json_encode($post);
|
||||||
$item = $this->addMedia($post->thread->post->embed, $item, 0);
|
$item = $this->addMedia($post->thread->post->embed, $item, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
$id = Item::insert($item);
|
$id = Item::insert($item);
|
||||||
|
@ -547,7 +547,7 @@ class Processor
|
||||||
'preview' => $image->thumb,
|
'preview' => $image->thumb,
|
||||||
'description' => $image->alt,
|
'description' => $image->alt,
|
||||||
'height' => $image->aspectRatio->height ?? null,
|
'height' => $image->aspectRatio->height ?? null,
|
||||||
'width' => $image->aspectRatio->width ?? null,
|
'width' => $image->aspectRatio->width ?? null,
|
||||||
];
|
];
|
||||||
Post\Media::insert($media);
|
Post\Media::insert($media);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue