@@ -23,6 +23,6 @@ |
||
23 | 23 | // this down() migration is auto-generated, please modify it to your needs |
24 | 24 | $this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'postgresql', 'Migration can only be executed safely on \'postgresql\'.'); |
25 | 25 | |
26 | - $this->addSql('ALTER TABLE swp_article_media DROP media_type'); |
|
26 | + $this->addSql('ALTER TABLE swp_article_media DROP media_type'); |
|
27 | 27 | } |
28 | 28 | } |
@@ -63,7 +63,7 @@ |
||
63 | 63 | public function removeEmbeddedImages(): void |
64 | 64 | { |
65 | 65 | /** @var ArticleMediaInterface[] $embeddedImagesMedia */ |
66 | - $embeddedImagesMedia = $this->media->filter(static function ($media) { |
|
66 | + $embeddedImagesMedia = $this->media->filter(static function($media) { |
|
67 | 67 | /* @var ArticleMediaInterface $media */ |
68 | 68 | return ArticleMediaInterface::TYPE_EMBEDDED_IMAGE === $media->getMediaType(); |
69 | 69 | }); |