Completed
Pull Request — master (#16)
by Gabriel
61:29
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
@@ -27,8 +27,7 @@
 block discarded – undo
27 27
 		if ( $request->hasAddressChangeData() ) {
28 28
 			try {
29 29
 				$addressChange->performAddressChange( $this->buildAddress( $request ), $newIdentifier );
30
-			}
31
-			catch ( ChangeAddressValidationException $e ) {
30
+			} catch ( ChangeAddressValidationException $e ) {
32 31
 				return ChangeAddressResponse::newErrorResponse( [ $e->getMessage() ] );
33 32
 			}
34 33
 		}
Please login to merge, or discard this patch.