Skip to content

Commit a5cbaf9

Browse files
committed
fix stan
1 parent 24d8184 commit a5cbaf9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/unit/Differ/DiffCollectorTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ public function testGetPhpDiffsAstChanged(int $expectCount, bool $includeNonAstC
135135
$this->assertCount($expectCount, $actual);
136136
}
137137

138+
/**
139+
* @return iterable<array{int, bool, GitInterface, DiffFactory}>
140+
*/
138141
public static function provideGetPhpDiffsAstChangedCases(): iterable
139142
{
140143
$git = new class extends DummyGit {

tests/unit/Differ/DiffFactoryTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ public function get(string $source): string
5656
$this->assertSame($expectedHead, $actual->head);
5757
}
5858

59+
/**
60+
* @return iterable<array{GitStatus, ?string, ?string}>
61+
*/
5962
public static function provideCreateForPhpCases(): iterable
6063
{
6164
yield 'ADDED' => [GitStatus::ADDED, null, '<?php $hash = \'commit2\'; $path = \'a.php\';'];

0 commit comments

Comments
 (0)