Completed
Push — master ( addcc2...ea0f59 )
by Aimeos
01:50
created
client/jsonapi/src/Client/JsonApi/Product/Standard.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -46,13 +46,11 @@  discard block
 block discarded – undo
46 46
 			}
47 47
 
48 48
 			$status = 200;
49
-		}
50
-		catch( \Aimeos\MShop\Exception $e )
49
+		} catch( \Aimeos\MShop\Exception $e )
51 50
 		{
52 51
 			$status = 404;
53 52
 			$view->errors = $this->getErrorDetails( $e, 'mshop' );
54
-		}
55
-		catch( \Exception $e )
53
+		} catch( \Exception $e )
56 54
 		{
57 55
 			$status = 500;
58 56
 			$view->errors = $this->getErrorDetails( $e );
@@ -81,8 +79,7 @@  discard block
 block discarded – undo
81 79
 			 */
82 80
 			$tplconf = 'client/jsonapi/product/standard/template-aggregate';
83 81
 			$default = 'aggregate-standard';
84
-		}
85
-		else
82
+		} else
86 83
 		{
87 84
 			/** client/jsonapi/product/standard/template
88 85
 			 * Relative path to the product JSON API template
Please login to merge, or discard this patch.