Passed
Pull Request — master (#133)
by
unknown
06:53
created
src/Resolver/MolliePaymentsMethodResolver.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -145,8 +145,7 @@  discard block
 block discarded – undo
145 145
         foreach ($gateways as $gateway) {
146 146
             $config = $gateway->getConfig();
147 147
             $environment = true === $config['environment'] ?
148
-                MollieGatewayConfigurationType::API_KEY_LIVE :
149
-                MollieGatewayConfigurationType::API_KEY_TEST;
148
+                MollieGatewayConfigurationType::API_KEY_LIVE : MollieGatewayConfigurationType::API_KEY_TEST;
150 149
 
151 150
             $client = $this->mollieApiClient->setApiKey($config[$environment]);
152 151
 
@@ -157,7 +156,7 @@  discard block
 block discarded – undo
157 156
             ]);
158 157
         }
159 158
 
160
-        foreach($allMollieMethods as $method) {
159
+        foreach ($allMollieMethods as $method) {
161 160
             dump($method);
162 161
         }
163 162
         die;
Please login to merge, or discard this patch.