We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
$mock = Mockery::mock(MyClass::class); $expectCall = $mock->expect('call'); self::assertSth($expectCall); ... private function assertSth(Expectation $expectCall) : void { $expectCall->once(); }
Gives
Parameter #1 $expectCall of method Ns\ClassTest::assertSth() expects Mockery\Expectation, PHPStan\Mockery\Type\Expects given.
v0.11.3