Completed
Push — master ( 7ac949...d0dda4 )
by Aimeos
11:16
created
lib/mshoplib/src/MShop/Order/Manager/Standard.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -350,8 +350,7 @@
 block discarded – undo
350 350
 				 * @see mshop/order/manager/standard/count/ansi
351 351
 				 */
352 352
 				$path = 'mshop/order/manager/standard/insert';
353
-			}
354
-			else
353
+			} else
355 354
 			{
356 355
 				/** mshop/order/manager/standard/update/mysql
357 356
 				 * Updates an existing order record in the database
Please login to merge, or discard this patch.
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -578,6 +578,7 @@
 block discarded – undo
578 578
 	 * @param \Aimeos\MW\Criteria\Iface $search Search criteria object
579 579
 	 * @param string[] $ref List of domains to fetch list items and referenced items for
580 580
 	 * @param integer|null &$total Number of items that are available in total
581
+	 * @param integer $total
581 582
 	 * @return array List of items implementing \Aimeos\MShop\Order\Item\Iface
582 583
 	 */
583 584
 	public function searchItems( \Aimeos\MW\Criteria\Iface $search, array $ref = [], &$total = null )
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Order/Item/Base/Coupon/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
 	{
127 127
 		if( $code == $this->getCode() ) { return $this; }
128 128
 
129
-		$this->values['order.base.coupon.code'] = (string) $this->checkCode( $code );;
129
+		$this->values['order.base.coupon.code'] = (string) $this->checkCode( $code ); ;
130 130
 		$this->setModified();
131 131
 
132 132
 		return $this;
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Product/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -238,8 +238,7 @@
 block discarded – undo
238 238
 				 * @see mshop/product/manager/standard/count/ansi
239 239
 				 */
240 240
 				$path = 'mshop/product/manager/standard/insert';
241
-			}
242
-			else
241
+			} else
243 242
 			{
244 243
 				/** mshop/product/manager/standard/update/mysql
245 244
 				 * Updates an existing product record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Plugin/Manager/Standard.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -444,8 +444,7 @@
 block discarded – undo
444 444
 				 * @see mshop/plugin/manager/standard/count/ansi
445 445
 				 */
446 446
 				$path = 'mshop/plugin/manager/standard/insert';
447
-			}
448
-			else
447
+			} else
449 448
 			{
450 449
 				/** mshop/plugin/manager/standard/update/mysql
451 450
 				 * Updates an existing plugin record in the database
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
 	{
216 216
 		$path = 'mshop/plugin/manager/submanagers';
217 217
 
218
-		return $this->getResourceTypeBase( 'plugin', $path, array( 'type'), $withsub );
218
+		return $this->getResourceTypeBase( 'plugin', $path, array( 'type' ), $withsub );
219 219
 	}
220 220
 
221 221
 
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
 		}
304 304
 
305 305
 		$interface = '\\Aimeos\\MShop\\Plugin\\Provider\\Factory\\Iface';
306
-		$classname = '\\Aimeos\\MShop\\Plugin\\Provider\\' . $type . '\\' . $provider;
306
+		$classname = '\\Aimeos\\MShop\\Plugin\\Provider\\'.$type.'\\'.$provider;
307 307
 
308 308
 		if( class_exists( $classname ) === false ) {
309 309
 			throw new \Aimeos\MShop\Plugin\Exception( sprintf( 'Class "%1$s" not available', $classname ) );
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
 		 * @category Developer
342 342
 		 * @see mshop/plugin/provider/order/decorators
343 343
 		 */
344
-		$decorators = $config->get( 'mshop/plugin/provider/' . $item->getType() . '/decorators', [] );
344
+		$decorators = $config->get( 'mshop/plugin/provider/'.$item->getType().'/decorators', [] );
345 345
 
346 346
 		$provider = $this->addPluginDecorators( $item, $provider, $names );
347 347
 		$provider = $this->addPluginDecorators( $item, $provider, $decorators );
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Locale/Item/Currency/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,8 +71,7 @@
 block discarded – undo
71 71
 			$this->setCode( $key );
72 72
 			$this->values['locale.currency.id'] = $this->values['locale.currency.code'];
73 73
 			$this->modified = false;
74
-		}
75
-		else
74
+		} else
76 75
 		{
77 76
 			$this->values['locale.currency.id'] = null;
78 77
 			$this->modified = true;
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Locale/Item/Language/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,8 +72,7 @@
 block discarded – undo
72 72
 			$this->setCode( $key );
73 73
 			$this->values['locale.language.id'] = $this->values['locale.language.code'];
74 74
 			$this->modified = false;
75
-		}
76
-		else
75
+		} else
77 76
 		{
78 77
 			$this->values['locale.language.id'] = null;
79 78
 			$this->modified = true;
Please login to merge, or discard this patch.
lib/mshoplib/setup/ListsAddTypeid.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,8 +172,7 @@
 block discarded – undo
172 172
 			{
173 173
 				$this->executeList( $stmtList );
174 174
 				$this->status( 'migrated' );
175
-			}
176
-			else
175
+			} else
177 176
 			{
178 177
 				$this->status( 'OK' );
179 178
 			}
Please login to merge, or discard this patch.
lib/mshoplib/setup/PriceRenameColumnPriceToValue.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,7 @@
 block discarded – undo
67 67
 			{
68 68
 				$this->execute( $stmt );
69 69
 				$this->status( 'renamed' );
70
-			}
71
-			else
70
+			} else
72 71
 			{
73 72
 				$this->status( 'OK' );
74 73
 			}
Please login to merge, or discard this patch.
lib/mshoplib/setup/OrderServiceAttributeAddPrimaryKey.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,7 @@
 block discarded – undo
65 65
 		{
66 66
 			$this->executeList( $stmts );
67 67
 			$this->status( 'added' );
68
-		}
69
-		else
68
+		} else
70 69
 		{
71 70
 			$this->status( 'OK' );
72 71
 		}
Please login to merge, or discard this patch.