Commit bde444d1 authored by Gabriel Caruso's avatar Gabriel Caruso

Improve arrays type hints

parent 22a7582d
......@@ -31,7 +31,7 @@ class ConnectionTest extends \Doctrine\Tests\DbalTestCase
protected $_conn = null;
/**
* @var array
* @var string[]
*/
protected $params = array(
'driver' => 'pdo_mysql',
......
......@@ -11,7 +11,7 @@ use Doctrine\DBAL\FetchMode;
class ResultCacheTest extends \Doctrine\Tests\DbalFunctionalTestCase
{
/**
* @var Type
* @var int[][]|string[][]
*/
private $expectedResult = array(array('test_int' => 100, 'test_string' => 'foo'), array('test_int' => 200, 'test_string' => 'bar'), array('test_int' => 300, 'test_string' => 'baz'));
......
......@@ -10,7 +10,7 @@ namespace Doctrine\Tests;
class DbalPerformanceTestListener extends \PHPUnit\Framework\BaseTestListener
{
/**
* @var array
* @var string[][]
*/
private $timings = [];
......
......@@ -20,7 +20,7 @@ class ConnectionMock extends \Doctrine\DBAL\Connection
private $_lastInsertId = 0;
/**
* @var array
* @var string[][]
*/
private $_inserts = array();
......
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