Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Analyser/Ignore/IgnoredErrorHelperResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function getErrors(): array
}

/**
* @param Error[] $errors
* @param list<Error> $errors
* @param string[] $analysedFiles
*/
public function process(
Expand Down
2 changes: 1 addition & 1 deletion src/Command/FixerWorkerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ private function transformErrorIntoInternalError(Error $error): InternalError

/**
* @param string[] $inceptionFiles
* @param array<Error> $errors
* @param list<Error> $errors
* @return array{list<Error>, list<array{Error, mixed[]|string}>}
*/
private function filterErrors(array $errors, IgnoredErrorHelperResult $ignoredErrorHelperResult, bool $onlyFiles, array $inceptionFiles, bool $hasInternalErrors): array
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPStan/Analyser/AnalyserIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1558,7 +1558,7 @@ public function testBug13310(): void

/**
* @param string[]|null $allAnalysedFiles
* @return Error[]
* @return list<Error>
*/
private function runAnalyse(string $file, ?array $allAnalysedFiles = null): array
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function testBug13529(): void
}

/**
* @return Error[]
* @return list<Error>
*/
private function runAnalyse(string $file): array
{
Expand Down
Loading