Don't use use for Throwable NO_CI

This commit is contained in:
Dennis Eichhorn 2020-02-05 16:28:55 +01:00 committed by GitHub
parent 0fbbc40237
commit 2b3de00f4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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());