@@ -37,8 +37,7 @@ |
||
| 37 | 37 | |
| 38 | 38 | try { |
| 39 | 39 | $schema->dropSchema(); |
| 40 | - } |
|
| 41 | - catch ( \Exception $ex ) { |
|
| 40 | + } catch ( \Exception $ex ) { |
|
| 42 | 41 | } |
| 43 | 42 | |
| 44 | 43 | $schema->createSchema(); |
@@ -22,8 +22,7 @@ |
||
| 22 | 22 | } |
| 23 | 23 | try { |
| 24 | 24 | $addressChange->performAddressChange( $this->buildAddress( $request ) ); |
| 25 | - } |
|
| 26 | - catch ( ChangeAddressValidationException $e ) { |
|
| 25 | + } catch ( ChangeAddressValidationException $e ) { |
|
| 27 | 26 | return ChangeAddressResponse::newErrorResponse( [ $e->getMessage() ] ); |
| 28 | 27 | } |
| 29 | 28 | $this->addressChangeRepository->storeAddressChange( $addressChange ); |