Passed
Push — master ( 5fb848...fa0ea1 )
by Aimeos
05:25
created
src/MShop/Common/Manager/Base.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@
 block discarded – undo
188 188
 	 */
189 189
 	public function getSubManager( string $manager, string $name = null ) : \Aimeos\MShop\Common\Manager\Iface
190 190
 	{
191
-		return $this->getSubManagerBase( $this->getDomain(), trim( $this->getSubPath() . '/' . $manager, '/'), $name );
191
+		return $this->getSubManagerBase( $this->getDomain(), trim( $this->getSubPath() . '/' . $manager, '/' ), $name );
192 192
 	}
193 193
 
194 194
 
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -366,9 +366,12 @@
 block discarded – undo
366 366
 
367 367
 		$results = $this->searchItemsBase( $conn, $filter, $cfgPathSearch, $cfgPathCount, $required, $total, $level );
368 368
 
369
-		try {
369
+		try
370
+		{
370 371
 			return $this->fetch( $results, $ref, $this->prefix(), $attrs );
371
-		} catch( \Exception $e ) {
372
+		}
373
+		catch( \Exception $e )
374
+		{
372 375
 			$results->finish(); throw $e;
373 376
 		}
374 377
 	}
Please login to merge, or discard this patch.
src/MShop/Order/Manager/Product/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
 			'order.product.id' => [
320 320
 				'code' => 'order.product.id',
321 321
 				'internalcode' => 'id',
322
-				'internaldeps' => [ 'LEFT JOIN "mshop_order_product" AS mordpr ON ( mord."id" = mordpr."parentid" )' ],
322
+				'internaldeps' => ['LEFT JOIN "mshop_order_product" AS mordpr ON ( mord."id" = mordpr."parentid" )'],
323 323
 				'label' => 'Order product ID',
324 324
 				'type' => 'int',
325 325
 				'public' => false,
Please login to merge, or discard this patch.