Completed
Push — master ( 52c730...9eba1c )
by Aimeos
08:52
created
lib/mshoplib/src/MShop/Common/Manager/Base.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -695,6 +695,7 @@
 block discarded – undo
695 695
 	 * @param string $path Configuration path to the sub-domains
696 696
 	 * @param array $default List of sub-domains if no others are configured
697 697
 	 * @param boolean $withsub Return also the resource type of sub-managers if true
698
+	 * @param string $type
698 699
 	 * @return array Type of the manager and submanagers, subtypes are separated by slashes
699 700
 	 */
700 701
 	protected function getResourceTypeBase( $type, $path, array $default, $withsub )
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Order/Manager/Base/Product/Standard.php 2 patches
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/Service/Standard.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -171,6 +171,8 @@
 block discarded – undo
171 171
 	 *
172 172
 	 * @param \Aimeos\MW\Criteria\Iface $search Search criteria
173 173
 	 * @param string $key Search key to aggregate items for
174
+	 * @param string $value
175
+	 * @param string $type
174 176
 	 * @return array List of the search keys as key and the number of counted items as value
175 177
 	 * @todo 2018.01 Add optional parameters to interface
176 178
 	 */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
 		 * @see mshop/order/manager/base/service/standard/search/ansi
226 226
 		 * @see mshop/order/manager/base/service/standard/count/ansi
227 227
 		 */
228
-		$cfgkey = 'mshop/order/manager/base/service/standard/aggregate' . $type;
228
+		$cfgkey = 'mshop/order/manager/base/service/standard/aggregate'.$type;
229 229
 		return $this->aggregateBase( $search, $key, $cfgkey, array( 'order.base.service' ), $value );
230 230
 	}
231 231
 
@@ -851,7 +851,7 @@  discard block
 block discarded – undo
851 851
 		 * @see mshop/order/manager/base/service/decorators/global
852 852
 		 */
853 853
 
854
-		return $this->getSubManagerBase( 'order', 'base/service/' . $manager, $name );
854
+		return $this->getSubManagerBase( 'order', 'base/service/'.$manager, $name );
855 855
 	}
856 856
 
857 857
 
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Order/Manager/Base/Standard.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -160,6 +160,8 @@  discard block
 block discarded – undo
160 160
 	 *
161 161
 	 * @param \Aimeos\MW\Criteria\Iface $search Search criteria
162 162
 	 * @param string $key Search key to aggregate items for
163
+	 * @param string $value
164
+	 * @param string $type
163 165
 	 * @return array List of the search keys as key and the number of counted items as value
164 166
 	 * @todo 2018.01 Add optional parameters to interface
165 167
 	 */
@@ -700,7 +702,8 @@  discard block
 block discarded – undo
700 702
 	 * @param string[] $ref List of domains to fetch list items and referenced items for, e.g.
701 703
 	 *	"order/base/address", "order/base/coupon", "order/base/product", "order/base/service"
702 704
 	 * @param integer|null &$total Number of items that are available in total
703
-	 * @return array List of items implementing \Aimeos\MShop\Order\Item\Base\Iface
705
+	 * @param integer $total
706
+	 * @return \Aimeos\MShop\Order\Item\Base\Iface[] List of items implementing \Aimeos\MShop\Order\Item\Base\Iface
704 707
 	 */
705 708
 	public function searchItems( \Aimeos\MW\Criteria\Iface $search, array $ref = [], &$total = null )
706 709
 	{
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
 		 * @see mshop/order/manager/base/standard/search/ansi
215 215
 		 * @see mshop/order/manager/base/standard/count/ansi
216 216
 		 */
217
-		$cfgkey = 'mshop/order/manager/base/standard/aggregate' . $type;
217
+		$cfgkey = 'mshop/order/manager/base/standard/aggregate'.$type;
218 218
 		return $this->aggregateBase( $search, $key, $cfgkey, array( 'order.base' ), $value );
219 219
 	}
220 220
 
@@ -501,7 +501,7 @@  discard block
 block discarded – undo
501 501
 		 * @see mshop/order/manager/base/decorators/global
502 502
 		 */
503 503
 
504
-		return $this->getSubManagerBase( 'order', 'base/' . $manager, $name );
504
+		return $this->getSubManagerBase( 'order', 'base/'.$manager, $name );
505 505
 	}
506 506
 
507 507
 
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Order/Manager/Standard.php 2 patches
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/Base/Product/Attribute/Standard.php 1 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/Base/Service/Attribute/Standard.php 1 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/service/attribute/standard/search/ansi
183 183
 		 * @see mshop/order/manager/base/service/attribute/standard/count/ansi
184 184
 		 */
185
-		$cfgkey = 'mshop/order/manager/base/service/attribute/standard/aggregate' . $type;
185
+		$cfgkey = 'mshop/order/manager/base/service/attribute/standard/aggregate'.$type;
186 186
 		return $this->aggregateBase( $search, $key, $cfgkey, array( 'order.base.service.attribute' ), $value );
187 187
 	}
188 188
 
@@ -781,7 +781,7 @@  discard block
 block discarded – undo
781 781
 		 * @see mshop/order/manager/base/service/attribute/decorators/global
782 782
 		 */
783 783
 
784
-		return $this->getSubManagerBase( 'order', 'base/service/attribute/' . $manager, $name );
784
+		return $this->getSubManagerBase( 'order', 'base/service/attribute/'.$manager, $name );
785 785
 	}
786 786
 
787 787
 
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Order/Manager/Base/Coupon/Standard.php 1 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 1 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.