mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-18 12:48:41 +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\DataMapperInterface;
|
||||
use phpOMS\Utils\ArrayUtils;
|
||||
use Throwable;
|
||||
|
||||
/**
|
||||
* Datamapper for databases.
|
||||
|
|
@ -593,7 +592,7 @@ class DataMapperAbstract implements DataMapperInterface
|
|||
|
||||
try {
|
||||
self::$db->con->prepare($query->toSql())->execute();
|
||||
} catch (Throwable $t) {
|
||||
} catch (\Throwable $t) {
|
||||
// only for debugging
|
||||
//var_dump($t->getMessage());
|
||||
//var_dump($query->toSql());
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user