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 4
4
5
5
namespace Neo4j \Neo4jBundle ;
6
6
7
- use http \Exception \UnexpectedValueException ;
8
7
use Laudis \Neo4j \Databags \Statement ;
9
8
use Laudis \Neo4j \Databags \SummarizedResult ;
10
9
use Laudis \Neo4j \Enum \TransactionState ;
@@ -186,7 +185,7 @@ private function createPreAndPostEventsAndIds(
186
185
),
187
186
PreTransactionCommitEvent::EVENT_ID ,
188
187
],
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 ' ),
190
189
};
191
190
[$ postEvent , $ postEventId ] = match ($ nextTransactionState ) {
192
191
TransactionState::ACTIVE => [
@@ -216,7 +215,7 @@ private function createPreAndPostEventsAndIds(
216
215
),
217
216
PostTransactionCommitEvent::EVENT_ID ,
218
217
],
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 ' ),
220
219
};
221
220
222
221
return [
You can’t perform that action at this time.
0 commit comments