Passed
Push — master ( cbb785...7ebf0b )
by Aimeos
04:56
created
src/MShop/Customer/Manager/Address/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,8 +158,7 @@
 block discarded – undo
158 158
 		{
159 159
 			$path = 'mshop/customer/manager/address/insert';
160 160
 			$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
161
-		}
162
-		else
161
+		} else
163 162
 		{
164 163
 			$path = 'mshop/customer/manager/address/update';
165 164
 			$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ), false );
Please login to merge, or discard this patch.
src/MShop/Common/Manager/ListsRef/Traits.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -161,8 +161,7 @@
 block discarded – undo
161 161
 					$search->compare( '==', $domain . '.lists.domain', $key ),
162 162
 					$search->compare( '==', $domain . '.lists.type', $type ),
163 163
 				] );
164
-			}
165
-			else
164
+			} else
166 165
 			{
167 166
 				$type = !strncmp( $type, $domain . '/', $len + 1 ) ? [$type, substr( $type, $len + 1 )] : $type; // remove prefix
168 167
 				$list[] = $search->compare( '==', $domain . '.lists.domain', $type );
Please login to merge, or discard this patch.
src/MShop/Attribute/Manager/Standard.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -635,5 +635,5 @@
 block discarded – undo
635 635
 	 * @see mshop/attribute/manager/newid/ansi
636 636
 	 * @see mshop/attribute/manager/delete/ansi
637 637
 	 * @see mshop/attribute/manager/search/ansi
638
- */
638
+	 */
639 639
 }
Please login to merge, or discard this patch.
src/MShop/Common/Manager/Base.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -367,9 +367,12 @@
 block discarded – undo
367 367
 
368 368
 		$results = $this->searchItemsBase( $conn, $filter, $cfgPathSearch, $cfgPathCount, $required, $total, $level, $plugins );
369 369
 
370
-		try {
370
+		try
371
+		{
371 372
 			return $this->fetch( $results, $ref, $this->prefix(), $attrs );
372
-		} catch( \Exception $e ) {
373
+		}
374
+		catch( \Exception $e )
375
+		{
373 376
 			$results->finish(); throw $e;
374 377
 		}
375 378
 	}
Please login to merge, or discard this patch.