Skip to content

Commit 2eeb178

Browse files
committed
Mark identifier as non-empty-string
1 parent 5168b0e commit 2eeb178

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Transaction.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function rollback(): void;
3333
/**
3434
* Creates a savepoint with the given identifier.
3535
*
36-
* @param string $identifier Savepoint identifier.
36+
* @param non-empty-string $identifier Savepoint identifier.
3737
*
3838
* @throws TransactionError If the transaction has been committed or rolled back.
3939
*/
@@ -42,7 +42,7 @@ public function createSavepoint(string $identifier): void;
4242
/**
4343
* Rolls back to the savepoint with the given identifier.
4444
*
45-
* @param string $identifier Savepoint identifier.
45+
* @param non-empty-string $identifier Savepoint identifier.
4646
*
4747
* @throws TransactionError If the transaction has been committed or rolled back.
4848
*/
@@ -51,7 +51,7 @@ public function rollbackTo(string $identifier): void;
5151
/**
5252
* Releases the savepoint with the given identifier.
5353
*
54-
* @param string $identifier Savepoint identifier.
54+
* @param non-empty-string $identifier Savepoint identifier.
5555
*
5656
* @throws TransactionError If the transaction has been committed or rolled back.
5757
*/

0 commit comments

Comments
 (0)