function Parameters::guardAgainstDuplicateEvaluationOfParameterConstraints
Throws
1 call to Parameters::guardAgainstDuplicateEvaluationOfParameterConstraints()
- Parameters::doVerify in vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Rule/ Parameters.php
File
-
vendor/
phpunit/ phpunit/ src/ Framework/ MockObject/ Runtime/ Rule/ Parameters.php, line 134
Class
- Parameters
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\Framework\MockObject\RuleCode
private function guardAgainstDuplicateEvaluationOfParameterConstraints() : bool {
if ($this->parameterVerificationResult instanceof ExpectationFailedException) {
throw $this->parameterVerificationResult;
}
return (bool) $this->parameterVerificationResult;
}