Skip to content

Commit 8c8798a

Browse files
committed
fix: Fully qualify UnexpectedValueException namespace
1 parent 8bd3cc5 commit 8c8798a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/EventHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ private function createPreAndPostEventsAndIds(
186186
),
187187
PreTransactionCommitEvent::EVENT_ID,
188188
],
189-
TransactionState::TERMINATED => throw new UnexpectedValueException('TERMINATED is not a valid transaction state at this point'),
189+
TransactionState::TERMINATED => throw new \UnexpectedValueException('TERMINATED is not a valid transaction state at this point'),
190190
};
191191
[$postEvent, $postEventId] = match ($nextTransactionState) {
192192
TransactionState::ACTIVE => [
@@ -216,7 +216,7 @@ private function createPreAndPostEventsAndIds(
216216
),
217217
PostTransactionCommitEvent::EVENT_ID,
218218
],
219-
TransactionState::TERMINATED => throw new UnexpectedValueException('TERMINATED is not a valid transaction state at this point'),
219+
TransactionState::TERMINATED => throw new \UnexpectedValueException('TERMINATED is not a valid transaction state at this point'),
220220
};
221221

222222
return [

0 commit comments

Comments
 (0)