Commit ded75ccb authored by Benjamin Eberlei's avatar Benjamin Eberlei

DDC-217 - Fix some missing docblock, unused variable

parent bf1da42d
......@@ -38,11 +38,6 @@ use Doctrine\DBAL\Connection;
*/
class RowCacheStatement implements ResultStatement
{
/**
* @var \Doctrine\DBAL\Connection
*/
private $conn;
/**
* @var \Doctrine\Common\Cache\Cache
*/
......@@ -111,6 +106,13 @@ class RowCacheStatement implements ResultStatement
return new self($conn->executeQuery($query, $params, $types), $resultCache, $cacheKey, $lifetime);
}
/**
*
* @param Statement $stmt
* @param Cache $resultCache
* @param string $cacheKey
* @param int $lifetime
*/
public function __construct($stmt, $resultCache, $cacheKey, $lifetime = 0)
{
$this->statement = $stmt;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment