Use the appropriate notation for generators

parent 464f1501
......@@ -215,7 +215,7 @@ abstract class AbstractDriverTest extends DbalTestCase
}
/**
* @return mixed[][]
* @return iterable<mixed[]>
*/
public static function exceptionConversionProvider() : iterable
{
......
......@@ -43,6 +43,8 @@ class StatementIteratorTest extends DbalTestCase
}
/**
* @param class-string<Statement> $class
*
* @dataProvider statementProvider()
*/
public function testStatementIterationCallsFetchOncePerStep(string $class) : void
......@@ -80,7 +82,7 @@ class StatementIteratorTest extends DbalTestCase
}
/**
* @return string[][]
* @return iterable<array{0: class-string<Statement>}>
*/
public static function statementProvider() : iterable
{
......
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