X

Create New Item

File Folder

X

Search Results

File "ResultReflection.php"

Full path: /home/orbitecv/orbite-school.orbit.et/vendor/nunomaduro/collision/src/Adapters/Phpunit/Support/ResultReflection.php
File size: 395 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Edit   Back

<?php

declare(strict_types=1);

namespace NunoMaduro\Collision\Adapters\Phpunit\Support;

use PHPUnit\TestRunner\TestResult\TestResult;

/**
 * @internal
 */
final class ResultReflection
{
    /**
     * The number of processed tests.
     */
    public static function numberOfTests(TestResult $testResult): int
    {
        return (fn () => $this->numberOfTests)->call($testResult);
    }
}