Skip to content

Commit a7d17c9

Browse files
committed
Fix stan
1 parent d68c628 commit a7d17c9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Diff for: src/Differ/DiffCollector.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function getPhpDiffs(bool $includeNonAstChanged = true): array
8080
/**
8181
* Get the non-PHP diffs.
8282
*
83-
* @return array<Diff> the array of non-PHP diffs
83+
* @return list<Diff> the array of non-PHP diffs
8484
*/
8585
public function getNonPhpDiffs(): array
8686
{

Diff for: tests/unit/Differ/DiffFactoryTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ public function testCreateForNonPhp(): void
2828

2929
$diff = $subject->createForNonPhp($path, $status);
3030

31-
$this->assertInstanceOf(Diff::class, $diff);
3231
$this->assertSame($path, $diff->path);
3332
$this->assertSame($status, $diff->status);
3433
}

0 commit comments

Comments
 (0)