More style fixes
This commit is contained in:
parent
24f3b1d701
commit
2db7ad182d
@ -32,6 +32,7 @@ abstract class AbstractUtil {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Reference to the current connection object
|
* Reference to the current connection object
|
||||||
|
* @var DriverInterface
|
||||||
*/
|
*/
|
||||||
private $conn;
|
private $conn;
|
||||||
|
|
||||||
|
@ -53,7 +53,9 @@ final class ConnectionManager {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Private clone method to prevent cloning
|
* Private clone method to prevent cloning
|
||||||
|
*
|
||||||
* @throws \DomainException
|
* @throws \DomainException
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function __clone()
|
public function __clone()
|
||||||
{
|
{
|
||||||
@ -64,7 +66,9 @@ final class ConnectionManager {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Prevent serialization of this object
|
* Prevent serialization of this object
|
||||||
|
*
|
||||||
* @throws \DomainException
|
* @throws \DomainException
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function __sleep()
|
public function __sleep()
|
||||||
{
|
{
|
||||||
@ -75,7 +79,9 @@ final class ConnectionManager {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Make sure serialize/deserialize doesn't work
|
* Make sure serialize/deserialize doesn't work
|
||||||
|
*
|
||||||
* @throws \DomainException
|
* @throws \DomainException
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function __wakeup()
|
public function __wakeup()
|
||||||
{
|
{
|
||||||
|
@ -184,7 +184,7 @@ class Driver extends \Query\AbstractDriver {
|
|||||||
*
|
*
|
||||||
* @param string $sql
|
* @param string $sql
|
||||||
* @return Result
|
* @return Result
|
||||||
* @throws PDOException
|
* @throws \PDOException
|
||||||
*/
|
*/
|
||||||
public function query($sql = '')
|
public function query($sql = '')
|
||||||
{
|
{
|
||||||
|
@ -44,7 +44,7 @@ class Result extends \PDOStatement {
|
|||||||
/**
|
/**
|
||||||
* Data pulled from query
|
* Data pulled from query
|
||||||
*
|
*
|
||||||
* @param mixed
|
* @var mixed
|
||||||
*/
|
*/
|
||||||
private $result = [];
|
private $result = [];
|
||||||
|
|
||||||
|
@ -672,7 +672,7 @@ class QueryBuilder extends AbstractQueryBuilder /*implements QueryBuilderInterfa
|
|||||||
* Select and retrieve all records from the current table, and/or
|
* Select and retrieve all records from the current table, and/or
|
||||||
* execute current compiled query
|
* execute current compiled query
|
||||||
*
|
*
|
||||||
* @param $table
|
* @param string $table
|
||||||
* @param int|bool $limit
|
* @param int|bool $limit
|
||||||
* @param int|bool $offset
|
* @param int|bool $offset
|
||||||
* @return \PDOStatement
|
* @return \PDOStatement
|
||||||
|
@ -370,7 +370,7 @@ interface QueryBuilderInterface {
|
|||||||
* Select and retrieve all records from the current table, and/or
|
* Select and retrieve all records from the current table, and/or
|
||||||
* execute current compiled query
|
* execute current compiled query
|
||||||
*
|
*
|
||||||
* @param $table
|
* @param string $table
|
||||||
* @param int|bool $limit
|
* @param int|bool $limit
|
||||||
* @param int|bool $offset
|
* @param int|bool $offset
|
||||||
* @return \PDOStatement
|
* @return \PDOStatement
|
||||||
|
Loading…
Reference in New Issue
Block a user