1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-07 22:56:35 +02:00

coding style

This commit is contained in:
David Grudl
2017-09-26 13:28:28 +02:00
parent fa35c0cf7d
commit 44fc3f4553
6 changed files with 7 additions and 2 deletions

View File

@@ -33,7 +33,9 @@ class MySqlDriver implements Dibi\Driver, Dibi\ResultDriver
use Dibi\Strict; use Dibi\Strict;
const ERROR_ACCESS_DENIED = 1045; const ERROR_ACCESS_DENIED = 1045;
const ERROR_DUPLICATE_ENTRY = 1062; const ERROR_DUPLICATE_ENTRY = 1062;
const ERROR_DATA_TRUNCATED = 1265; const ERROR_DATA_TRUNCATED = 1265;
/** @var resource|null */ /** @var resource|null */

View File

@@ -34,7 +34,9 @@ class MySqliDriver implements Dibi\Driver, Dibi\ResultDriver
use Dibi\Strict; use Dibi\Strict;
const ERROR_ACCESS_DENIED = 1045; const ERROR_ACCESS_DENIED = 1045;
const ERROR_DUPLICATE_ENTRY = 1062; const ERROR_DUPLICATE_ENTRY = 1062;
const ERROR_DATA_TRUNCATED = 1265; const ERROR_DATA_TRUNCATED = 1265;
/** @var \mysqli|null */ /** @var \mysqli|null */

View File

@@ -42,6 +42,7 @@ class OracleDriver implements Dibi\Driver, Dibi\ResultDriver, Dibi\Reflector
/** @var string Date and datetime format */ /** @var string Date and datetime format */
private $fmtDate; private $fmtDate;
private $fmtDateTime; private $fmtDateTime;
/** @var int|false Number of affected rows */ /** @var int|false Number of affected rows */

View File

@@ -38,10 +38,12 @@ class Sqlite3Driver implements Dibi\Driver, Dibi\ResultDriver
/** @var string Date and datetime format */ /** @var string Date and datetime format */
private $fmtDate; private $fmtDate;
private $fmtDateTime; private $fmtDateTime;
/** @var string character encoding */ /** @var string character encoding */
private $dbcharset; private $dbcharset;
private $charset; private $charset;

View File

@@ -8,7 +8,6 @@
namespace Dibi\Drivers; namespace Dibi\Drivers;
use Dibi; use Dibi;
use Dibi\Connection;
use Dibi\Helpers; use Dibi\Helpers;

View File

@@ -8,7 +8,6 @@
namespace Dibi\Reflection; namespace Dibi\Reflection;
use Dibi; use Dibi;
use Dibi\Type;
/** /**