Improve annotations

parent 76583b49
......@@ -4,6 +4,7 @@ namespace Doctrine\Tests\DBAL\Functional;
use Doctrine\DBAL\Cache\QueryCacheProfile;
use Doctrine\DBAL\FetchMode;
use Doctrine\DBAL\Logging\DebugStack;
/**
* @group DDC-217
......@@ -16,7 +17,7 @@ class ResultCacheTest extends \Doctrine\Tests\DbalFunctionalTestCase
private $expectedResult = array(array('test_int' => 100, 'test_string' => 'foo'), array('test_int' => 200, 'test_string' => 'bar'), array('test_int' => 300, 'test_string' => 'baz'));
/**
* @var \Doctrine\DBAL\Logging\DebugStack
* @var DebugStack
*/
private $sqlLogger;
......@@ -37,7 +38,7 @@ class ResultCacheTest extends \Doctrine\Tests\DbalFunctionalTestCase
}
$config = $this->_conn->getConfiguration();
$config->setSQLLogger($this->sqlLogger = new \Doctrine\DBAL\Logging\DebugStack);
$config->setSQLLogger($this->sqlLogger = new DebugStack);
$cache = new \Doctrine\Common\Cache\ArrayCache;
$config->setResultCacheImpl($cache);
......
......@@ -2,13 +2,14 @@
namespace Doctrine\Tests\DBAL\Types;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Types\Type;
use Doctrine\Tests\DBAL\Mocks\MockPlatform;
class ArrayTest extends \Doctrine\Tests\DbalTestCase
{
/**
* @var MockPlatform
* @var AbstractPlatform
*/
protected $_platform;
......
......@@ -2,6 +2,7 @@
namespace Doctrine\Tests\Mocks;
use Doctrine\DBAL\Schema\AbstractSchemaManager;
class DriverMock implements \Doctrine\DBAL\Driver
{
......@@ -11,7 +12,7 @@ class DriverMock implements \Doctrine\DBAL\Driver
private $_platformMock;
/**
* @var SchemaManagerMock
* @var AbstractSchemaManager
*/
private $_schemaManagerMock;
......@@ -61,7 +62,7 @@ class DriverMock implements \Doctrine\DBAL\Driver
$this->_platformMock = $platform;
}
public function setSchemaManager(\Doctrine\DBAL\Schema\AbstractSchemaManager $sm)
public function setSchemaManager(AbstractSchemaManager $sm)
{
$this->_schemaManagerMock = $sm;
}
......
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