File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ Phake::when($mock)->calledMethod('someParameter')->thenReturn('My return value')
4343Phake::when($mock)->calledMethod('someOtherParameter')->thenReturn('My other return value');
4444```
4545
46- Stub calls to ` calledMethod() ` regaredless of parameters.
46+ Stub calls to ` calledMethod() ` regardless of parameters.
4747
4848``` php-inline
4949$mock = Phake::mock(MyClassToMock::class);
@@ -77,13 +77,13 @@ Phake::when($mock)->calledMethod()->thenThrow(new \Exception('Some exception'));
7777
7878## Method Verifications (Spies)
7979
80- Verify that the ` calledMethod() ` was called once without parameter
80+ Verify that the ` calledMethod() ` was called once without parameters
8181
8282``` php-inline
8383Phake::verify($mock)->calledMethod();
8484```
8585
86- Verify that the ` calledMethod() ` was called once with a specific param
86+ Verify that the ` calledMethod() ` was called once with a specific parameter
8787
8888``` php-inline
8989Phake::verify($mock)->calledMethod('param');
@@ -113,7 +113,7 @@ Verify that the `calledMethod()` was never called without parameters
113113Phake::verify($mock, Phake::never())->calledMethod();
114114```
115115
116- Verify that mock did not received any interaction
116+ Verify that mock did not receive any interaction
117117
118118``` php-inline
119119Phake::verifyNoInteraction($mock);
You can’t perform that action at this time.
0 commit comments