Completed
Push — master ( a682ba...4851b3 )
by Paweł
40:50
created
src/SWP/Bundle/ContentBundle/Factory/AbstractArticleFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher Content Bundle.
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      */
81 81
     protected function populateLead(PackageInterface $package)
82 82
     {
83
-        return trim($package->getDescription().implode('', array_map(function (ItemInterface $item) {
83
+        return trim($package->getDescription().implode('', array_map(function(ItemInterface $item) {
84 84
             $this->ensureTypeIsAllowed($item->getType());
85 85
 
86 86
             return ' '.$item->getDescription();
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      */
95 95
     protected function populateBody(PackageInterface $package)
96 96
     {
97
-        return $package->getBody().' '.implode('', array_map(function (ItemInterface $item) {
97
+        return $package->getBody().' '.implode('', array_map(function(ItemInterface $item) {
98 98
             $this->ensureTypeIsAllowed($item->getType());
99 99
 
100 100
             return $item->getBody();
Please login to merge, or discard this patch.
src/SWP/Bundle/MenuBundle/Form/Type/MenuType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the Superdesk Web Publisher Menu Bundle.
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
             ->add('parent', MenuItemSelectorType::class)
36 36
             ->add('route', RouteSelectorType::class);
37 37
 
38
-        $builder->addEventListener(FormEvents::POST_SET_DATA, function (FormEvent $event) {
38
+        $builder->addEventListener(FormEvents::POST_SET_DATA, function(FormEvent $event) {
39 39
             $menuItem = $event->getData();
40 40
             $form = $event->getForm();
41 41
 
Please login to merge, or discard this patch.