mirror of
https://github.com/danog/sql.git
synced 2024-11-26 12:04:44 +01:00
Mark identifier as non-empty-string
This commit is contained in:
parent
5168b0efc5
commit
2eeb178aca
@ -33,7 +33,7 @@ interface Transaction extends Executor
|
||||
/**
|
||||
* 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 @@ interface Transaction extends Executor
|
||||
/**
|
||||
* 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 @@ interface Transaction extends Executor
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user