Skip to content

Commit e0e40b7

Browse files
Declare return type
1 parent 73fccca commit e0e40b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/tests/Node/BuilderTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
use const DIRECTORY_SEPARATOR;
1313
use function rtrim;
14+
use Generator;
1415
use ReflectionMethod;
1516
use SebastianBergmann\CodeCoverage\Data\ProcessedCodeCoverageData;
1617
use SebastianBergmann\CodeCoverage\StaticAnalysis\ParsingFileAnalyser;
@@ -205,7 +206,7 @@ public function testReducePaths(array $reducedPaths, string $commonPath, Process
205206
$this->assertEquals($commonPath, $_commonPath);
206207
}
207208

208-
public function reducePathsProvider()
209+
public function reducePathsProvider(): Generator
209210
{
210211
$s = DIRECTORY_SEPARATOR;
211212

0 commit comments

Comments
 (0)