Completed
Push — master ( 613046...ab4601 )
by Jeroen De
22:47
created
src/TermStore.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -65,8 +65,7 @@  discard block
 block discarded – undo
65 65
 					'language' => $languageCode
66 66
 				]
67 67
 			);
68
-		}
69
-		catch ( DBALException $ex ) {
68
+		} catch ( DBALException $ex ) {
70 69
 			throw new TermStoreException( $ex->getMessage(), $ex );
71 70
 		}
72 71
 	}
@@ -87,8 +86,7 @@  discard block
 block discarded – undo
87 86
 					'language' => $languageCode
88 87
 				]
89 88
 			);
90
-		}
91
-		catch ( DBALException $ex ) {
89
+		} catch ( DBALException $ex ) {
92 90
 			throw new TermStoreException( $ex->getMessage(), $ex );
93 91
 		}
94 92
 	}
Please login to merge, or discard this patch.
src/TermStoreWriter.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,8 +39,7 @@  discard block
 block discarded – undo
39 39
 
40 40
 		try {
41 41
 			$this->storeFingerprintParts( $id, $fingerprint );
42
-		}
43
-		catch ( DBALException $ex ) {
42
+		} catch ( DBALException $ex ) {
44 43
 			$this->connection->rollBack();
45 44
 			throw new TermStoreException( $ex->getMessage(), $ex );
46 45
 		}
@@ -80,8 +79,7 @@  discard block
 block discarded – undo
80 79
 				$this->config->getAliasesTableName(),
81 80
 				[ 'entity_id' => $id->getSerialization() ]
82 81
 			);
83
-		}
84
-		catch ( DBALException $ex ) {
82
+		} catch ( DBALException $ex ) {
85 83
 			throw new TermStoreException( $ex->getMessage(), $ex );
86 84
 		}
87 85
 	}
Please login to merge, or discard this patch.
src/IdLookup.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -82,8 +82,7 @@  discard block
 block discarded – undo
82 82
 				'entity_id',
83 83
 				$conditions
84 84
 			);
85
-		}
86
-		catch ( DBALException $ex ) {
85
+		} catch ( DBALException $ex ) {
87 86
 			throw new TermStoreException( $ex->getMessage(), $ex );
88 87
 		}
89 88
 	}
@@ -168,8 +167,7 @@  discard block
 block discarded – undo
168 167
 				'entity_id',
169 168
 				$conditions
170 169
 			);
171
-		}
172
-		catch ( DBALException $ex ) {
170
+		} catch ( DBALException $ex ) {
173 171
 			throw new TermStoreException( $ex->getMessage(), $ex );
174 172
 		}
175 173
 	}
Please login to merge, or discard this patch.