function ConfigurableMethod::__construct
@psalm-param non-empty-string $name @psalm-param array<int, mixed> $defaultParameterValues @psalm-param non-negative-int $numberOfParameters
File
-
vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ ConfigurableMethod.php, line 42
Class
- ConfigurableMethod
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\Framework\MockObjectCode
public function __construct(string $name, array $defaultParameterValues, int $numberOfParameters, Type $returnType) {
$this->name = $name;
$this->defaultParameterValues = $defaultParameterValues;
$this->numberOfParameters = $numberOfParameters;
$this->returnType = $returnType;
}