Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
3a86a6b0
Unverified
Commit
3a86a6b0
authored
Apr 24, 2020
by
Grégoire Paris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the appropriate notation for generators
parent
464f1501
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
AbstractDriverTest.php
tests/Doctrine/Tests/DBAL/Driver/AbstractDriverTest.php
+1
-1
StatementIteratorTest.php
tests/Doctrine/Tests/DBAL/Driver/StatementIteratorTest.php
+3
-1
No files found.
tests/Doctrine/Tests/DBAL/Driver/AbstractDriverTest.php
View file @
3a86a6b0
...
@@ -215,7 +215,7 @@ abstract class AbstractDriverTest extends DbalTestCase
...
@@ -215,7 +215,7 @@ abstract class AbstractDriverTest extends DbalTestCase
}
}
/**
/**
* @return
mixed[][]
* @return
iterable<mixed[]>
*/
*/
public
static
function
exceptionConversionProvider
()
:
iterable
public
static
function
exceptionConversionProvider
()
:
iterable
{
{
...
...
tests/Doctrine/Tests/DBAL/Driver/StatementIteratorTest.php
View file @
3a86a6b0
...
@@ -43,6 +43,8 @@ class StatementIteratorTest extends DbalTestCase
...
@@ -43,6 +43,8 @@ class StatementIteratorTest extends DbalTestCase
}
}
/**
/**
* @param class-string<Statement> $class
*
* @dataProvider statementProvider()
* @dataProvider statementProvider()
*/
*/
public
function
testStatementIterationCallsFetchOncePerStep
(
string
$class
)
:
void
public
function
testStatementIterationCallsFetchOncePerStep
(
string
$class
)
:
void
...
@@ -80,7 +82,7 @@ class StatementIteratorTest extends DbalTestCase
...
@@ -80,7 +82,7 @@ class StatementIteratorTest extends DbalTestCase
}
}
/**
/**
* @return
string[][]
* @return
iterable<array{0: class-string<Statement>}>
*/
*/
public
static
function
statementProvider
()
:
iterable
public
static
function
statementProvider
()
:
iterable
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment