Completed
Push — travis-trusty ( dc96d8...990048 )
by Kamil
18:15
created
src/Sylius/Bundle/AddressingBundle/Form/Type/ZoneType.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
             ];
82 82
 
83 83
             if ($zone->getType() === ZoneInterface::TYPE_ZONE) {
84
-                $entryOptions['entry_options']['choice_filter'] = function(ZoneInterface $subZone) use ($zone){
84
+                $entryOptions['entry_options']['choice_filter'] = function (ZoneInterface $subZone) use ($zone){
85 85
                     return $zone->getId() !== $subZone->getId();
86 86
                 };
87 87
             }
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
             ];
82 82
 
83 83
             if ($zone->getType() === ZoneInterface::TYPE_ZONE) {
84
-                $entryOptions['entry_options']['choice_filter'] = function(ZoneInterface $subZone) use ($zone){
84
+                $entryOptions['entry_options']['choice_filter'] = function(ZoneInterface $subZone) use ($zone) {
85 85
                     return $zone->getId() !== $subZone->getId();
86 86
                 };
87 87
             }
Please login to merge, or discard this patch.
src/Sylius/Bundle/AddressingBundle/Form/Type/ZoneCodeChoiceType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
             ->setDefaults([
56 56
                 'choice_filter' => null,
57 57
                 'choices' => function (Options $options) {
58
-                    $zones =  $this->zoneRepository->findAll();
58
+                    $zones = $this->zoneRepository->findAll();
59 59
                     if ($options['choice_filter']) {
60 60
                         $zones = array_filter($zones, $options['choice_filter']);
61 61
                     }
Please login to merge, or discard this patch.