<?php/* * This file is part of the phpunit-mock-objects package. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */namespacePHPUnit\Framework\MockObject\Matcher;usePHPUnit\Framework\MockObject\InvocationasBaseInvocation;/** * Invocation matcher which allows any parameters to a method. */classAnyParametersextendsStatelessInvocation{/** * @return string */publicfunctiontoString(){return'with any parameters';}/** * @param BaseInvocation $invocation * * @return bool */publicfunctionmatches(BaseInvocation$invocation){returntrue;}}