Completed
Push — master ( 122dc2...fa7a2a )
by Matthew
09:15
created
Tests/DependencyInjection/DtcQueueExtensionTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -95,6 +95,10 @@
 block discarded – undo
95 95
         $this->arrayTest($containerBuilder, 'dtc_queue.rabbit_mq', 'ssl_options', ['peer_fingerprint' => ['something' => 'else']]);
96 96
     }
97 97
 
98
+    /**
99
+     * @param string $parameter
100
+     * @param string $key
101
+     */
98 102
     public function arrayTest(ContainerBuilder $containerBuilder, $parameter, $key, $result)
99 103
     {
100 104
         $arr = $containerBuilder->getParameter($parameter);
Please login to merge, or discard this patch.
DependencyInjection/Configuration.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
                         ->arrayNode('ssl_options')
81 81
                             ->prototype('variable')->end()
82 82
                             ->validate()
83
-                            ->ifTrue(function ($node) {
83
+                            ->ifTrue(function($node) {
84 84
                                 if (!is_array($node)) {
85 85
                                     return true;
86 86
                                 }
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
                             ->end()
125 125
                         ->end()
126 126
                     ->end()
127
-                    ->validate()->always(function ($node) {
127
+                    ->validate()->always(function($node) {
128 128
                         if (empty($node['ssl_options'])) {
129 129
                             unset($node['ssl_options']);
130 130
                         }
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
 
135 135
                         return $node;
136 136
                     })->end()
137
-                    ->validate()->ifTrue(function ($node) {
137
+                    ->validate()->ifTrue(function($node) {
138 138
                         if (isset($node['ssl_options']) && !$node['ssl']) {
139 139
                             return true;
140 140
                         }
Please login to merge, or discard this patch.