Completed
Pull Request — master (#1)
by Tim
79:06 queued 13:58
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
@@ -22,8 +22,7 @@
 block discarded – undo
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 );
Please login to merge, or discard this patch.