Skip to content

Commit

Permalink
Mark identifier as non-empty-string
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Jan 16, 2023
1 parent 5168b0e commit 2eeb178
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand All @@ -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.
*/
Expand All @@ -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.
*/
Expand Down

0 comments on commit 2eeb178

Please sign in to comment.