Completed
Push — master ( 52c730...9eba1c )
by Aimeos
08:52
created
lib/mshoplib/src/MShop/Order/Manager/Base/Coupon/Standard.php 3 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -268,8 +268,7 @@
 block discarded – undo
268 268
 				 * @see mshop/order/manager/base/coupon/standard/count/ansi
269 269
 				 */
270 270
 				$path = 'mshop/order/manager/base/coupon/standard/insert';
271
-			}
272
-			else
271
+			} else
273 272
 			{
274 273
 				/** mshop/order/manager/base/coupon/standard/update/mysql
275 274
 				 * 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
@@ -470,6 +470,7 @@
 block discarded – undo
470 470
 	 * @param \Aimeos\MW\Criteria\Iface $search Search criteria object
471 471
 	 * @param string[] $ref List of domains to fetch list items and referenced items for
472 472
 	 * @param integer|null &$total Number of items that are available in total
473
+	 * @param integer $total
473 474
 	 * @return array Return a list of items implementing \Aimeos\MShop\Order\Item\Base\Coupon\Iface
474 475
 	 */
475 476
 	public function searchItems( \Aimeos\MW\Criteria\Iface $search, array $ref = [], &$total = null )
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
 		 * @see mshop/order/manager/base/coupon/standard/search/ansi
162 162
 		 * @see mshop/order/manager/base/coupon/standard/count/ansi
163 163
 		 */
164
-		$cfgkey = 'mshop/order/manager/base/coupon/standard/aggregate' . $type;
164
+		$cfgkey = 'mshop/order/manager/base/coupon/standard/aggregate'.$type;
165 165
 		return $this->aggregateBase( $search, $key, $cfgkey, array( 'order.base.coupon' ), $value );
166 166
 	}
167 167
 
@@ -750,7 +750,7 @@  discard block
 block discarded – undo
750 750
 		 * @see mshop/order/manager/base/coupon/decorators/global
751 751
 		 */
752 752
 
753
-		return $this->getSubManagerBase( 'order', 'base/coupon/' . $manager, $name );
753
+		return $this->getSubManagerBase( 'order', 'base/coupon/'.$manager, $name );
754 754
 	}
755 755
 
756 756
 
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Order/Manager/Base/Address/Standard.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -400,8 +400,7 @@
 block discarded – undo
400 400
 				 * @see mshop/order/manager/base/address/standard/count/ansi
401 401
 				 */
402 402
 				$path = 'mshop/order/manager/base/address/standard/insert';
403
-			}
404
-			else
403
+			} else
405 404
 			{
406 405
 				/** mshop/order/manager/base/address/standard/update/mysql
407 406
 				 * Updates an existing order record in the database
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -311,7 +311,7 @@  discard block
 block discarded – undo
311 311
 		 * @see mshop/order/manager/base/address/standard/search/ansi
312 312
 		 * @see mshop/order/manager/base/address/standard/count/ansi
313 313
 		 */
314
-		$cfgkey = 'mshop/order/manager/base/address/standard/aggregate' . $type;
314
+		$cfgkey = 'mshop/order/manager/base/address/standard/aggregate'.$type;
315 315
 		return $this->aggregateBase( $search, $key, $cfgkey, array( 'order.base.address' ), $value );
316 316
 	}
317 317
 
@@ -926,7 +926,7 @@  discard block
 block discarded – undo
926 926
 		 * @see mshop/order/manager/base/address/decorators/global
927 927
 		 */
928 928
 
929
-		return $this->getSubManagerBase( 'order', 'base/address/' . $manager, $name );
929
+		return $this->getSubManagerBase( 'order', 'base/address/'.$manager, $name );
930 930
 	}
931 931
 
932 932
 
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Order/Manager/Base/Product/Standard.php 3 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -402,8 +402,7 @@
 block discarded – undo
402 402
 				 * @see mshop/order/manager/base/product/standard/count/ansi
403 403
 				 */
404 404
 				$path = 'mshop/order/manager/base/product/standard/insert';
405
-			}
406
-			else
405
+			} else
407 406
 			{
408 407
 				/** mshop/order/manager/base/product/standard/update/mysql
409 408
 				 * Updates an existing order record in the database
Please login to merge, or discard this patch.
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -239,6 +239,8 @@
 block discarded – undo
239 239
 	 *
240 240
 	 * @param \Aimeos\MW\Criteria\Iface $search Search criteria
241 241
 	 * @param string $key Search key to aggregate items for
242
+	 * @param string $value
243
+	 * @param string $type
242 244
 	 * @return array List of the search keys as key and the number of counted items as value
243 245
 	 * @todo 2018.01 Add optional parameters to interface
244 246
 	 */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
 		 * @see mshop/order/manager/base/product/standard/search/ansi
294 294
 		 * @see mshop/order/manager/base/product/standard/count/ansi
295 295
 		 */
296
-		$cfgkey = 'mshop/order/manager/base/product/standard/aggregate' . $type;
296
+		$cfgkey = 'mshop/order/manager/base/product/standard/aggregate'.$type;
297 297
 		return $this->aggregateBase( $search, $key, $cfgkey, array( 'order.base.product' ), $value );
298 298
 	}
299 299
 
@@ -744,7 +744,7 @@  discard block
 block discarded – undo
744 744
 		 * @see mshop/order/manager/base/product/decorators/global
745 745
 		 */
746 746
 
747
-		return $this->getSubManagerBase( 'order', 'base/product/' . $manager, $name );
747
+		return $this->getSubManagerBase( 'order', 'base/product/'.$manager, $name );
748 748
 	}
749 749
 
750 750
 
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Order/Manager/Base/Product/Attribute/Standard.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -290,8 +290,7 @@
 block discarded – undo
290 290
 				 * @see mshop/order/manager/base/product/attribute/standard/count/ansi
291 291
 				 */
292 292
 				$path = 'mshop/order/manager/base/product/attribute/standard/insert';
293
-			}
294
-			else
293
+			} else
295 294
 			{
296 295
 				/** mshop/order/manager/base/product/attribute/standard/update/mysql
297 296
 				 * Updates an existing order record in the database
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
 		 * @see mshop/order/manager/base/product/attribute/standard/search/ansi
183 183
 		 * @see mshop/order/manager/base/product/attribute/standard/count/ansi
184 184
 		 */
185
-		$cfgkey = 'mshop/order/manager/base/product/attribute/standard/aggregate' . $type;
185
+		$cfgkey = 'mshop/order/manager/base/product/attribute/standard/aggregate'.$type;
186 186
 		return $this->aggregateBase( $search, $key, $cfgkey, array( 'order.base.product.attribute' ), $value );
187 187
 	}
188 188
 
@@ -616,7 +616,7 @@  discard block
 block discarded – undo
616 616
 		 * @see mshop/order/manager/base/product/attribute/decorators/global
617 617
 		 */
618 618
 
619
-		return $this->getSubManagerBase( 'order', 'base/product/attribute/' . $manager, $name );
619
+		return $this->getSubManagerBase( 'order', 'base/product/attribute/'.$manager, $name );
620 620
 	}
621 621
 
622 622
 
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Order/Manager/Standard.php 3 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   +3 added lines patch added patch discarded remove patch
@@ -179,6 +179,8 @@  discard block
 block discarded – undo
179 179
 	 *
180 180
 	 * @param \Aimeos\MW\Criteria\Iface $search Search criteria
181 181
 	 * @param string $key Search key to aggregate items for
182
+	 * @param string $value
183
+	 * @param string $type
182 184
 	 * @return array List of the search keys as key and the number of counted items as value
183 185
 	 * @todo 2018.01 Add optional parameters to interface
184 186
 	 */
@@ -567,6 +569,7 @@  discard block
 block discarded – undo
567 569
 	 * @param \Aimeos\MW\Criteria\Iface $search Search criteria object
568 570
 	 * @param string[] $ref List of domains to fetch list items and referenced items for
569 571
 	 * @param integer|null &$total Number of items that are available in total
572
+	 * @param integer $total
570 573
 	 * @return array List of items implementing \Aimeos\MShop\Order\Item\Iface
571 574
 	 */
572 575
 	public function searchItems( \Aimeos\MW\Criteria\Iface $search, array $ref = [], &$total = null )
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@
 block discarded – undo
233 233
 		 * @see mshop/order/manager/standard/search/ansi
234 234
 		 * @see mshop/order/manager/standard/count/ansi
235 235
 		 */
236
-		$cfgkey = 'mshop/order/manager/standard/aggregate' . $type;
236
+		$cfgkey = 'mshop/order/manager/standard/aggregate'.$type;
237 237
 		return $this->aggregateBase( $search, $key, $cfgkey, array( 'order' ), $value );
238 238
 	}
239 239
 
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Order/Manager/Status/Standard.php 3 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -251,8 +251,7 @@
 block discarded – undo
251 251
 				 * @see mshop/order/manager/status/standard/count/ansi
252 252
 				 */
253 253
 				$path = 'mshop/order/manager/status/standard/insert';
254
-			}
255
-			else
254
+			} else
256 255
 			{
257 256
 				/** mshop/order/manager/status/standard/update/mysql
258 257
 				 * 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
@@ -590,6 +590,7 @@
 block discarded – undo
590 590
 	 * @param \Aimeos\MW\Criteria\Iface $search Search criteria object
591 591
 	 * @param string[] $ref List of domains to fetch list items and referenced items for
592 592
 	 * @param integer|null &$total Number of items that are available in total
593
+	 * @param integer $total
593 594
 	 * @return array List of items implementing \Aimeos\MShop\Order\Item\Status\Iface
594 595
 	 */
595 596
 	public function searchItems( \Aimeos\MW\Criteria\Iface $search, array $ref = [], &$total = null )
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 		 * @see mshop/order/manager/status/standard/search/ansi
159 159
 		 * @see mshop/order/manager/status/standard/count/ansi
160 160
 		 */
161
-		$cfgkey = 'mshop/order/manager/status/standard/aggregate' . $type;
161
+		$cfgkey = 'mshop/order/manager/status/standard/aggregate'.$type;
162 162
 		return $this->aggregateBase( $search, $key, $cfgkey, array( 'order.status' ), $value );
163 163
 	}
164 164
 
@@ -588,7 +588,7 @@  discard block
 block discarded – undo
588 588
 		 * @see mshop/order/manager/status/decorators/global
589 589
 		 */
590 590
 
591
-		return $this->getSubManagerBase( 'order', 'status/' . $manager, $name );
591
+		return $this->getSubManagerBase( 'order', 'status/'.$manager, $name );
592 592
 	}
593 593
 
594 594
 
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/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.