]> git.mxchange.org Git - friendica.git/commitdiff
Fixed codestyle
authorMichael <heluecht@pirati.ca>
Wed, 15 Jan 2025 21:52:44 +0000 (21:52 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 15 Jan 2025 21:52:44 +0000 (21:52 +0000)
src/Protocol/ATProtocol/Processor.php

index 1a9286ee45a564ff3c9525c9c0c4277ba598ec55..f551f6a273c1fb709a06b499d9dbb4954b44bddb 100755 (executable)
@@ -170,7 +170,7 @@ class Processor
                                        }
                                }
                                $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);
@@ -547,7 +547,7 @@ class Processor
                                                'preview'     => $image->thumb,
                                                'description' => $image->alt,
                                                'height'      => $image->aspectRatio->height ?? null,
-                                               'width'       => $image->aspectRatio->width ?? null,
+                                               'width'       => $image->aspectRatio->width  ?? null,
                                        ];
                                        Post\Media::insert($media);
                                }