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 10
10
use Psr \Http \Message \ResponseInterface ;
11
11
12
12
/**
13
- * HTTP client mock
13
+ * HTTP client mock.
14
14
*
15
15
* This mock is most useful in tests. It does not send requests but stores them
16
16
* for later retrieval. Additionally, you can set an exception to test
@@ -46,7 +46,7 @@ public function sendRequest(RequestInterface $request)
46
46
}
47
47
48
48
/**
49
- * Add exception that will be thrown
49
+ * Add exception that will be thrown.
50
50
*
51
51
* @param \Exception $exception
52
52
*/
@@ -56,7 +56,7 @@ public function addException(\Exception $exception)
56
56
}
57
57
58
58
/**
59
- * Add response that will be returned
59
+ * Add response that will be returned.
60
60
*
61
61
* @param ResponseInterface $response
62
62
*/
@@ -66,7 +66,7 @@ public function addResponse(ResponseInterface $response)
66
66
}
67
67
68
68
/**
69
- * Get requests that were sent
69
+ * Get requests that were sent.
70
70
*
71
71
* @return RequestInterface[]
72
72
*/
You can’t perform that action at this time.
0 commit comments