File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 44
55namespace Neo4j \Neo4jBundle ;
66
7- use http \Exception \UnexpectedValueException ;
87use Laudis \Neo4j \Databags \Statement ;
98use Laudis \Neo4j \Databags \SummarizedResult ;
109use Laudis \Neo4j \Enum \TransactionState ;
@@ -186,7 +185,7 @@ private function createPreAndPostEventsAndIds(
186185 ),
187186 PreTransactionCommitEvent::EVENT_ID ,
188187 ],
189- TransactionState::TERMINATED => throw new UnexpectedValueException ('TERMINATED is not a valid transaction state at this point ' ),
188+ TransactionState::TERMINATED => throw new \ UnexpectedValueException ('TERMINATED is not a valid transaction state at this point ' ),
190189 };
191190 [$ postEvent , $ postEventId ] = match ($ nextTransactionState ) {
192191 TransactionState::ACTIVE => [
@@ -216,7 +215,7 @@ private function createPreAndPostEventsAndIds(
216215 ),
217216 PostTransactionCommitEvent::EVENT_ID ,
218217 ],
219- TransactionState::TERMINATED => throw new UnexpectedValueException ('TERMINATED is not a valid transaction state at this point ' ),
218+ TransactionState::TERMINATED => throw new \ UnexpectedValueException ('TERMINATED is not a valid transaction state at this point ' ),
220219 };
221220
222221 return [
You can’t perform that action at this time.
0 commit comments