Passed
Push — master ( c3c77b...e4c2c6 )
by Aimeos
02:06
created
controller/jobs/src/Controller/Jobs/Subscription/Process/Renew/Standard.php 1 patch
Braces   +8 added lines, -3 removed lines patch added patch discarded remove patch
@@ -170,9 +170,12 @@  discard block
 block discarded – undo
170 170
 		{
171 171
 			foreach( $codes as $code )
172 172
 			{
173
-				try {
173
+				try
174
+				{
174 175
 					$basket->addCoupon( $code );
175
-				} catch( \Aimeos\MShop\Plugin\Provider\Exception $e ) {
176
+				}
177
+				catch( \Aimeos\MShop\Plugin\Provider\Exception $e )
178
+				{
176 179
 					$basket->deleteCoupon( $code );
177 180
 				}
178 181
 			}
@@ -282,7 +285,9 @@  discard block
 block discarded – undo
282 285
 			$context->setUserId( $baseItem->getCustomerId() );
283 286
 			$context->setGroupIds( $customerItem->getGroups() );
284 287
 		}
285
-		catch( \Exception $e ) {} // Subscription without account
288
+		catch( \Exception $e )
289
+		{
290
+} // Subscription without account
286 291
 
287 292
 		return $context;
288 293
 	}
Please login to merge, or discard this patch.