mirror of
https://github.com/dg/dibi.git
synced 2025-02-21 09:23:57 +01:00
typo
This commit is contained in:
parent
cf14987b42
commit
a0f2ca2fca
@ -341,7 +341,7 @@ $database->query('INSERT INTO users', [
|
||||
There are three methods for dealing with transactions:
|
||||
|
||||
```php
|
||||
$database->beginTransaction();
|
||||
$database->begin();
|
||||
|
||||
$database->commit();
|
||||
|
||||
|
@ -82,10 +82,9 @@ $tests = function ($conn) {
|
||||
$conn->translate('SELECT 1 %lmt', -10)
|
||||
);
|
||||
|
||||
Assert::exception(
|
||||
$conn->translate('SELECT 1 %ofs %lmt', 10, 10),
|
||||
Dibi\NotSupportedException::class
|
||||
);
|
||||
Assert::exception(function () {
|
||||
$conn->translate('SELECT 1 %ofs %lmt', 10, 10);
|
||||
}, Dibi\NotSupportedException::class);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user