Passed
Push — master ( baa5ed...e67b42 )
by Aimeos
05:46
created
src/MShop/Rule/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -484,8 +484,7 @@
 block discarded – undo
484 484
 			 */
485 485
 			$path = 'mshop/rule/manager/insert';
486 486
 			$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
487
-		}
488
-		else
487
+		} else
489 488
 		{
490 489
 			/** mshop/rule/manager/update/mysql
491 490
 			 * Updates an existing rule record in the database
Please login to merge, or discard this patch.
src/MShop/Price/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -548,8 +548,7 @@
 block discarded – undo
548 548
 			 */
549 549
 			$path = 'mshop/price/manager/insert';
550 550
 			$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
551
-		}
552
-		else
551
+		} else
553 552
 		{
554 553
 			/** mshop/price/manager/update/mysql
555 554
 			 * Updates an existing price record in the database
Please login to merge, or discard this patch.
src/MShop/Stock/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -314,8 +314,7 @@
 block discarded – undo
314 314
 			 */
315 315
 			$path = 'mshop/stock/manager/insert';
316 316
 			$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
317
-		}
318
-		else
317
+		} else
319 318
 		{
320 319
 			/** mshop/stock/manager/update/mysql
321 320
 			 * Updates an existing product stock record in the database
Please login to merge, or discard this patch.
src/MShop/Service/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -496,8 +496,7 @@
 block discarded – undo
496 496
 			 */
497 497
 			$path = 'mshop/service/manager/insert';
498 498
 			$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
499
-		}
500
-		else
499
+		} else
501 500
 		{
502 501
 			/** mshop/service/manager/update/mysql
503 502
 			 * Updates an existing service record in the database
Please login to merge, or discard this patch.
src/MShop/Tag/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -309,8 +309,7 @@
 block discarded – undo
309 309
 			 */
310 310
 			$path = 'mshop/tag/manager/insert';
311 311
 			$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
312
-		}
313
-		else
312
+		} else
314 313
 		{
315 314
 			/** mshop/tag/manager/update/mysql
316 315
 			 * Updates an existing tag tag record in the database
Please login to merge, or discard this patch.
src/MShop/Locale/Manager/Currency/Standard.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -112,9 +112,12 @@  discard block
 block discarded – undo
112 112
 	 */
113 113
 	public function create( array $values = [] ) : \Aimeos\MShop\Common\Item\Iface
114 114
 	{
115
-		try {
115
+		try
116
+		{
116 117
 			$values['locale.currency.siteid'] = $this->context()->locale()->getSiteId();
117
-		} catch( \Exception $e ) {
118
+		}
119
+		catch( \Exception $e )
120
+		{
118 121
 			$values['locale.currency.siteid'] = null;
119 122
 		}
120 123
 
@@ -176,8 +179,7 @@  discard block
 block discarded – undo
176 179
 			 */
177 180
 			$path = 'mshop/locale/manager/currency/insert';
178 181
 			$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
179
-		}
180
-		else
182
+		} else
181 183
 		{
182 184
 			/** mshop/locale/manager/currency/update/mysql
183 185
 			 * Updates an existing currency record in the database
Please login to merge, or discard this patch.
src/MShop/Text/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -357,8 +357,7 @@
 block discarded – undo
357 357
 			 */
358 358
 			$path = 'mshop/text/manager/insert';
359 359
 			$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
360
-		}
361
-		else
360
+		} else
362 361
 		{
363 362
 			/** mshop/text/manager/update/mysql
364 363
 			 * Updates an existing text record in the database
Please login to merge, or discard this patch.
src/MShop/Media/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -515,8 +515,7 @@
 block discarded – undo
515 515
 			 */
516 516
 			$path = 'mshop/media/manager/insert';
517 517
 			$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
518
-		}
519
-		else
518
+		} else
520 519
 		{
521 520
 			/** mshop/media/manager/update/mysql
522 521
 			 * Updates an existing media record in the database
Please login to merge, or discard this patch.
src/MShop/Customer/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -619,8 +619,7 @@
 block discarded – undo
619 619
 			 */
620 620
 			$path = 'mshop/customer/manager/insert';
621 621
 			$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
622
-		}
623
-		else
622
+		} else
624 623
 		{
625 624
 			/** mshop/customer/manager/update/mysql
626 625
 			 * Updates an existing customer record in the database
Please login to merge, or discard this patch.