Completed
Pull Request — master (#1059)
by Rafał
09:17
created
src/SWP/Bundle/CoreBundle/Migrations/2020/03/Version20200303134042.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,6 +23,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/SWP/Bundle/ContentBundle/Model/MediaAwareTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
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
         });
Please login to merge, or discard this patch.