File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55namespace QratorLabs \SmockyPHPUnit ;
66
7- use PHPUnit \Framework \MockObject \InvocationStubber ;
7+ use PHPUnit \Framework \MockObject \InvocationMocker ;
88use PHPUnit \Framework \MockObject \Rule \InvocationOrder ;
99use PHPUnit \Framework \TestCase ;
1010use QratorLabs \Smocky \Functions \MockedFunction as GenericMockedFunction ;
1414
1515class MockedFunction extends AbstractMocked
1616{
17- private InvocationStubber $ invocationMocker ;
17+ private InvocationMocker $ invocationMocker ;
1818 private GenericMockedFunction $ mockedFunction ;
1919
2020 /**
@@ -55,7 +55,7 @@ public function callOriginal(mixed ...$args): mixed
5555 return $ this ->mockedFunction ->callOriginal (...$ args );
5656 }
5757
58- public function getMocker (): InvocationStubber
58+ public function getMocker (): InvocationMocker
5959 {
6060 return $ this ->invocationMocker ;
6161 }
You can’t perform that action at this time.
0 commit comments