Completed
Pull Request — master (#1222)
by
unknown
01:27 queued 50s
created
src/SWP/Bundle/CoreBundle/Migrations/2021/01/Version20210112135542.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
                     if (is_array($extraItem)) {
101 101
                         $extra = ArticleExtraEmbedField::newFromValue($key, $extraItem);
102 102
                     } else {
103
-                        $extra = ArticleExtraTextField::newFromValue($key, (string)$extraItem);
103
+                        $extra = ArticleExtraTextField::newFromValue($key, (string) $extraItem);
104 104
                     }
105 105
                     $extra->setArticle($article);
106 106
                 }
Please login to merge, or discard this patch.
src/SWP/Bundle/MenuBundle/Model/MenuItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -691,7 +691,7 @@
 block discarded – undo
691 691
      */
692 692
     public function isCurrent(): bool
693 693
     {
694
-        return ($this->isCurrent?true:false);
694
+        return ($this->isCurrent ?true:false);
695 695
     }
696 696
 
697 697
     /**
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Migrations/Version20170207132939.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
         // this up() migration is auto-generated, please modify it to your needs
19 19
         $this->abortIf('postgresql' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'postgresql\'.');
20 20
 
21
-        if(!$schema->getTable('swp_article')->hasColumn('feature_media')) {
21
+        if (!$schema->getTable('swp_article')->hasColumn('feature_media')) {
22 22
             $this->addSql('ALTER TABLE swp_article ADD feature_media INT DEFAULT NULL');
23 23
         }
24 24
 
Please login to merge, or discard this patch.