diff --git a/src/Transaction.php b/src/Transaction.php index f3178a8..3c4452a 100644 --- a/src/Transaction.php +++ b/src/Transaction.php @@ -33,7 +33,7 @@ public function rollback(): void; /** * Creates a savepoint with the given identifier. * - * @param string $identifier Savepoint identifier. + * @param non-empty-string $identifier Savepoint identifier. * * @throws TransactionError If the transaction has been committed or rolled back. */ @@ -42,7 +42,7 @@ public function createSavepoint(string $identifier): void; /** * Rolls back to the savepoint with the given identifier. * - * @param string $identifier Savepoint identifier. + * @param non-empty-string $identifier Savepoint identifier. * * @throws TransactionError If the transaction has been committed or rolled back. */ @@ -51,7 +51,7 @@ public function rollbackTo(string $identifier): void; /** * Releases the savepoint with the given identifier. * - * @param string $identifier Savepoint identifier. + * @param non-empty-string $identifier Savepoint identifier. * * @throws TransactionError If the transaction has been committed or rolled back. */