mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
Remove trailing whitespace
This commit is contained in:
parent
3b0030e82b
commit
a9f72a5cd2
81 changed files with 2455 additions and 2455 deletions
|
|
@ -8,7 +8,7 @@ use Rhymix\Framework\Exceptions\DBError;
|
|||
|
||||
/**
|
||||
* DB Statement helper class.
|
||||
*
|
||||
*
|
||||
* We use instances of this class instead of raw PDOStatement in order to log
|
||||
* individual execute() calls of prepared statements. This is controlled by
|
||||
* the PDO::ATTR_STATEMENT_CLASS attribute set in the DB class.
|
||||
|
|
@ -19,7 +19,7 @@ class DBStmtHelper extends \PDOStatement
|
|||
* Store the database type (e.g. master) here.
|
||||
*/
|
||||
protected $_type = 'master';
|
||||
|
||||
|
||||
/**
|
||||
* Set the database type.
|
||||
*/
|
||||
|
|
@ -27,10 +27,10 @@ class DBStmtHelper extends \PDOStatement
|
|||
{
|
||||
$this->_type = $type;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Execute a prepared statement.
|
||||
*
|
||||
*
|
||||
* @param array $params
|
||||
* @return bool
|
||||
*/
|
||||
|
|
@ -38,7 +38,7 @@ class DBStmtHelper extends \PDOStatement
|
|||
{
|
||||
$start_time = microtime(true);
|
||||
$db_class = DB::getInstance($this->_type);
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
$result = parent::execute($params);
|
||||
|
|
@ -58,7 +58,7 @@ class DBStmtHelper extends \PDOStatement
|
|||
Debug::addQuery($db_class->getQueryLog($this->queryString, $elapsed_time));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue