We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d68c628 commit a7d17c9Copy full SHA for a7d17c9
src/Differ/DiffCollector.php
@@ -80,7 +80,7 @@ public function getPhpDiffs(bool $includeNonAstChanged = true): array
80
/**
81
* Get the non-PHP diffs.
82
*
83
- * @return array<Diff> the array of non-PHP diffs
+ * @return list<Diff> the array of non-PHP diffs
84
*/
85
public function getNonPhpDiffs(): array
86
{
tests/unit/Differ/DiffFactoryTest.php
@@ -28,7 +28,6 @@ public function testCreateForNonPhp(): void
28
29
$diff = $subject->createForNonPhp($path, $status);
30
31
- $this->assertInstanceOf(Diff::class, $diff);
32
$this->assertSame($path, $diff->path);
33
$this->assertSame($status, $diff->status);
34
}
0 commit comments