Completed
Push — master ( 1fc904...dc433d )
by Aimeos
07:56
created
lib/mshoplib/src/MShop/Order/Manager/Base/Service/Attribute/Standard.php 3 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -770,7 +770,7 @@
 block discarded – undo
770 770
 		 * @see mshop/order/manager/base/service/attribute/decorators/global
771 771
 		 */
772 772
 
773
-		return $this->getSubManagerBase( 'order', 'base/service/attribute/' . $manager, $name );
773
+		return $this->getSubManagerBase( 'order', 'base/service/attribute/'.$manager, $name );
774 774
 	}
775 775
 
776 776
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -289,8 +289,7 @@
 block discarded – undo
289 289
 				 * @see mshop/order/manager/base/service/attribute/standard/count/ansi
290 290
 				 */
291 291
 				$path = 'mshop/order/manager/base/service/attribute/standard/insert';
292
-			}
293
-			else
292
+			} else
294 293
 			{
295 294
 				/** mshop/order/manager/base/service/attribute/standard/update/mysql
296 295
 				 * 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
@@ -493,6 +493,7 @@
 block discarded – undo
493 493
 	 * @param \Aimeos\MW\Criteria\Iface $search Search criteria object
494 494
 	 * @param string[] $ref List of domains to fetch list items and referenced items for
495 495
 	 * @param integer|null &$total Number of items that are available in total
496
+	 * @param integer $total
496 497
 	 * @return array List of items implementing \Aimeos\MShop\Order\Item\Base\Service\Attribute\Iface
497 498
 	 */
498 499
 	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/Manager/Base/Service/Standard.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -372,7 +372,7 @@  discard block
 block discarded – undo
372 372
 			$stmt->bind( 11, $price->getTaxValue() );
373 373
 			$stmt->bind( 12, $price->getTaxRate() );
374 374
 			$stmt->bind( 13, $price->getTaxFlag(), \Aimeos\MW\DB\Statement\Base::PARAM_INT );
375
-			$stmt->bind( 14, $date); // mtime
375
+			$stmt->bind( 14, $date ); // mtime
376 376
 			$stmt->bind( 15, $context->getEditor() );
377 377
 
378 378
 			if( $id !== null ) {
@@ -838,7 +838,7 @@  discard block
 block discarded – undo
838 838
 		 * @see mshop/order/manager/base/service/decorators/global
839 839
 		 */
840 840
 
841
-		return $this->getSubManagerBase( 'order', 'base/service/' . $manager, $name );
841
+		return $this->getSubManagerBase( 'order', 'base/service/'.$manager, $name );
842 842
 	}
843 843
 
844 844
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -320,8 +320,7 @@
 block discarded – undo
320 320
 				 * @see mshop/order/manager/base/service/standard/count/ansi
321 321
 				 */
322 322
 				$path = 'mshop/order/manager/base/service/standard/insert';
323
-			}
324
-			else
323
+			} else
325 324
 			{
326 325
 				/** mshop/order/manager/base/service/standard/update/mysql
327 326
 				 * Updates an existing order record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Order/Manager/Base/Address/Standard.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -895,7 +895,7 @@
 block discarded – undo
895 895
 		 * @see mshop/order/manager/base/address/decorators/global
896 896
 		 */
897 897
 
898
-		return $this->getSubManagerBase( 'order', 'base/address/' . $manager, $name );
898
+		return $this->getSubManagerBase( 'order', 'base/address/'.$manager, $name );
899 899
 	}
900 900
 
901 901
 
Please login to merge, or discard this patch.
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.
lib/mshoplib/src/MShop/Order/Manager/Base/Coupon/Standard.php 3 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -741,7 +741,7 @@
 block discarded – undo
741 741
 		 * @see mshop/order/manager/base/coupon/decorators/global
742 742
 		 */
743 743
 
744
-		return $this->getSubManagerBase( 'order', 'base/coupon/' . $manager, $name );
744
+		return $this->getSubManagerBase( 'order', 'base/coupon/'.$manager, $name );
745 745
 	}
746 746
 
747 747
 
Please login to merge, or discard this patch.
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.
lib/mshoplib/src/MShop/Common/Manager/Address/Base.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 	 */
73 73
 	public function deleteItems( array $ids )
74 74
 	{
75
-		$this->deleteItemsBase( $ids, $this->getConfigPath() . 'delete' );
75
+		$this->deleteItemsBase( $ids, $this->getConfigPath().'delete' );
76 76
 	}
77 77
 
78 78
 
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 				$type = 'update';
125 125
 			}
126 126
 
127
-			$stmt = $this->getCachedStatement( $conn, $this->getConfigPath() . $type );
127
+			$stmt = $this->getCachedStatement( $conn, $this->getConfigPath().$type );
128 128
 
129 129
 			$stmt->bind( 1, $context->getLocale()->getSiteId(), \Aimeos\MW\DB\Statement\Base::PARAM_INT );
130 130
 			$stmt->bind( 2, $item->getParentId() );
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
 			$stmt->bind( 7, $item->getFirstname() );
136 136
 			$stmt->bind( 8, $item->getLastname() );
137 137
 			$stmt->bind( 9, $item->getAddress1() );
138
-			$stmt->bind( 10, $item->getAddress2());
138
+			$stmt->bind( 10, $item->getAddress2() );
139 139
 			$stmt->bind( 11, $item->getAddress3() );
140 140
 			$stmt->bind( 12, $item->getPostal() );
141 141
 			$stmt->bind( 13, $item->getCity() );
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
 
163 163
 			if( $id === null && $fetch === true )
164 164
 			{
165
-				$path = $this->getConfigPath() . 'newid';
165
+				$path = $this->getConfigPath().'newid';
166 166
 				$item->setId( $this->newId( $conn, $path ) );
167 167
 			}
168 168
 
@@ -201,13 +201,13 @@  discard block
 block discarded – undo
201 201
 
202 202
 			$required = array( trim( $this->prefix, '.' ) );
203 203
 			$level = \Aimeos\MShop\Locale\Manager\Base::SITE_ALL;
204
-			$cfgPathSearch = $this->getConfigPath() . 'search';
205
-			$cfgPathCount = $this->getConfigPath() . 'count';
204
+			$cfgPathSearch = $this->getConfigPath().'search';
205
+			$cfgPathCount = $this->getConfigPath().'count';
206 206
 
207 207
 			$results = $this->searchItemsBase( $conn, $search, $cfgPathSearch, $cfgPathCount, $required, $total, $level );
208 208
 
209 209
 			while( ( $row = $results->fetch() ) !== false ) {
210
-				$items[$row[$this->prefix . 'id']] = $this->createItemBase( $row );
210
+				$items[$row[$this->prefix.'id']] = $this->createItemBase( $row );
211 211
 			}
212 212
 
213 213
 			$dbm->release( $conn, $dbname );
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
 	 */
232 232
 	public function getSubManager( $manager, $name = null )
233 233
 	{
234
-		return $this->getSubManagerBase( 'common', 'address/' . $manager, $name );
234
+		return $this->getSubManagerBase( 'common', 'address/'.$manager, $name );
235 235
 	}
236 236
 
237 237
 
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Text/Manager/Factory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,12 +72,12 @@
 block discarded – undo
72 72
 
73 73
 		if( ctype_alnum( $name ) === false )
74 74
 		{
75
-			$classname = is_string( $name ) ? '\\Aimeos\\MShop\\Text\\Manager\\' . $name : '<not a string>';
75
+			$classname = is_string( $name ) ? '\\Aimeos\\MShop\\Text\\Manager\\'.$name : '<not a string>';
76 76
 			throw new \Aimeos\MShop\Text\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) );
77 77
 		}
78 78
 
79 79
 		$iface = '\\Aimeos\\MShop\\Text\\Manager\\Iface';
80
-		$classname = '\\Aimeos\\MShop\\Text\\Manager\\' . $name;
80
+		$classname = '\\Aimeos\\MShop\\Text\\Manager\\'.$name;
81 81
 
82 82
 		$manager = self::createManagerBase( $context, $classname, $iface );
83 83
 
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Text/Manager/Lists/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -319,7 +319,7 @@
 block discarded – undo
319 319
 		 * @see mshop/text/manager/lists/decorators/global
320 320
 		 */
321 321
 
322
-		return $this->getSubManagerBase( 'text', 'lists/' . $manager, $name );
322
+		return $this->getSubManagerBase( 'text', 'lists/'.$manager, $name );
323 323
 	}
324 324
 
325 325
 
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Text/Manager/Lists/Type/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -282,7 +282,7 @@
 block discarded – undo
282 282
 		 * @see mshop/text/manager/lists/type/decorators/global
283 283
 		 */
284 284
 
285
-		return $this->getSubManagerBase( 'text', 'lists/type/' . $manager, $name );
285
+		return $this->getSubManagerBase( 'text', 'lists/type/'.$manager, $name );
286 286
 	}
287 287
 
288 288
 
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Text/Manager/Type/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -282,7 +282,7 @@
 block discarded – undo
282 282
 		 * @see mshop/text/manager/type/decorators/global
283 283
 		 */
284 284
 
285
-		return $this->getSubManagerBase( 'text', 'type/' . $manager, $name );
285
+		return $this->getSubManagerBase( 'text', 'type/'.$manager, $name );
286 286
 	}
287 287
 
288 288
 
Please login to merge, or discard this patch.