Passed
Push — master ( d37ad5...6a9ed7 )
by De Cramer
10:00 queued 07:52
created
Resolver/VisibleConfigsResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         $allowedConfigs = new AssociativeArray();
40 40
 
41 41
         $allConfigs = $this->configManager->getAllConfigs();
42
-        array_walk_recursive($allConfigs, function ($config, $key) use($allowedConfigs, $action) {
42
+        array_walk_recursive($allConfigs, function($config, $key) use($allowedConfigs, $action) {
43 43
             if (is_object($config)) {
44 44
                 if ($config->isHidden()) {
45 45
                     return;
Please login to merge, or discard this patch.
Form/Type/ConfigsForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,11 +50,11 @@
 block discarded – undo
50 50
     {
51 51
         $builder->add('save', SubmitType::class, ['label' => 'Save configs']);
52 52
 
53
-        $builder->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) {
53
+        $builder->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) {
54 54
             $data = $event->getData();
55 55
             $form = $event->getForm();
56 56
 
57
-            $this->scope = $data['scope'] ?? null;;
57
+            $this->scope = $data['scope'] ?? null; ;
58 58
             $this->configs = $data['configs'] ?? [];
59 59
 
60 60
             $scopeObject = new Scope($this->scope);
Please login to merge, or discard this patch.