Completed
Pull Request — master (#3)
by Tonina
60:42
created
tests/TestEnvironment.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/UseCases/ChangeAddress/ChangeAddressUseCase.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,7 @@
 block discarded – undo
25 25
 				$addressChange->performAddressChange( $this->buildAddress( $request ) );
26 26
 			}
27 27
 			$addressChange->optOutOfDonationReceipt( $request->isOptedIntoDonationReceipt() );
28
-		}
29
-		catch ( ChangeAddressValidationException $e ) {
28
+		} catch ( ChangeAddressValidationException $e ) {
30 29
 			return ChangeAddressResponse::newErrorResponse( [ $e->getMessage() ] );
31 30
 		}
32 31
 
Please login to merge, or discard this patch.