function TestResultCollection::fromArray
@psalm-param list<TestResult> $testResults
1 call to TestResultCollection::fromArray()
- TestResultCollector::testMethodsGroupedByClass in vendor/
phpunit/ phpunit/ src/ Logging/ TestDox/ TestResult/ TestResultCollector.php - @psalm-return array<string, TestResultCollection>
File
-
vendor/
phpunit/ phpunit/ src/ Logging/ TestDox/ TestResult/ TestResultCollection.php, line 33
Class
- TestResultCollection
- @template-implements IteratorAggregate<int, TestResult>
Namespace
PHPUnit\Logging\TestDoxCode
public static function fromArray(array $testResults) : self {
return new self(...$testResults);
}