mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 14:08:40 +00:00
Don't use use for Throwable NO_CI
This commit is contained in:
parent
0fbbc40237
commit
2b3de00f4c
|
|
@ -20,7 +20,6 @@ use phpOMS\DataStorage\Database\Query\Builder;
|
||||||
use phpOMS\DataStorage\Database\Query\QueryType;
|
use phpOMS\DataStorage\Database\Query\QueryType;
|
||||||
use phpOMS\DataStorage\DataMapperInterface;
|
use phpOMS\DataStorage\DataMapperInterface;
|
||||||
use phpOMS\Utils\ArrayUtils;
|
use phpOMS\Utils\ArrayUtils;
|
||||||
use Throwable;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Datamapper for databases.
|
* Datamapper for databases.
|
||||||
|
|
@ -593,7 +592,7 @@ class DataMapperAbstract implements DataMapperInterface
|
||||||
|
|
||||||
try {
|
try {
|
||||||
self::$db->con->prepare($query->toSql())->execute();
|
self::$db->con->prepare($query->toSql())->execute();
|
||||||
} catch (Throwable $t) {
|
} catch (\Throwable $t) {
|
||||||
// only for debugging
|
// only for debugging
|
||||||
//var_dump($t->getMessage());
|
//var_dump($t->getMessage());
|
||||||
//var_dump($query->toSql());
|
//var_dump($query->toSql());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user