Fixed codestyle

This commit is contained in:
Michael 2025-01-15 21:52:44 +00:00
parent aad362fee3
commit 860dbacf1b

View file

@ -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);
} }