@@ -330,8 +330,7 @@ discard block |
||
| 330 | 330 | * @see mshop/customer/manager/laravel/count |
| 331 | 331 | */ |
| 332 | 332 | $path = 'mshop/customer/manager/laravel/insert'; |
| 333 | - } |
|
| 334 | - else |
|
| 333 | + } else |
|
| 335 | 334 | { |
| 336 | 335 | /** mshop/customer/manager/laravel/update |
| 337 | 336 | * Updates an existing customer record in the database |
@@ -437,8 +436,7 @@ discard block |
||
| 437 | 436 | } |
| 438 | 437 | |
| 439 | 438 | $dbm->release( $conn, $dbname ); |
| 440 | - } |
|
| 441 | - catch( \Exception $e ) |
|
| 439 | + } catch( \Exception $e ) |
|
| 442 | 440 | { |
| 443 | 441 | $dbm->release( $conn, $dbname ); |
| 444 | 442 | throw $e; |
@@ -474,8 +472,7 @@ discard block |
||
| 474 | 472 | } |
| 475 | 473 | |
| 476 | 474 | $dbm->release( $conn, $dbname ); |
| 477 | - } |
|
| 478 | - catch( \Exception $e ) |
|
| 475 | + } catch( \Exception $e ) |
|
| 479 | 476 | { |
| 480 | 477 | $dbm->release( $conn, $dbname ); |
| 481 | 478 | throw $e; |
@@ -53,8 +53,7 @@ |
||
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | $this->logger->log( $message, $this->translatePriority( $priority ) ); |
| 56 | - } |
|
| 57 | - catch( \Exception $e ) { |
|
| 56 | + } catch( \Exception $e ) { |
|
| 58 | 57 | throw new \Aimeos\MW\Logger\Exception( $e->getMessage(), $e->getCode(), $e ); |
| 59 | 58 | } |
| 60 | 59 | } |
@@ -264,7 +264,7 @@ |
||
| 264 | 264 | * {@inheritDoc} |
| 265 | 265 | * |
| 266 | 266 | * @param string $path Path to the remote file |
| 267 | - * @param string $file Path to the local file |
|
| 267 | + * @param string $local |
|
| 268 | 268 | * @return void |
| 269 | 269 | * @throws \Aimeos\MW\Filesystem\Exception If an error occurs |
| 270 | 270 | */ |
@@ -94,8 +94,7 @@ |
||
| 94 | 94 | $value->getClientMimeType(), |
| 95 | 95 | $value->getError() |
| 96 | 96 | ); |
| 97 | - } |
|
| 98 | - else |
|
| 97 | + } else |
|
| 99 | 98 | { |
| 100 | 99 | $files[$key] = $this->createUploadedFiles($value); |
| 101 | 100 | } |