1 | <?php |
||
7 | class GuzzleTimerMiddleware |
||
8 | { |
||
9 | private $total = 0; |
||
10 | |||
11 | private $start = 0; |
||
12 | |||
13 | public function onRequest(RequestInterface $request, array $options) |
||
17 | |||
18 | public function onResponse(RequestInterface $request, array $options, FulfilledPromise $response) |
||
23 | |||
24 | public function getTotal() |
||
28 | } |
||
29 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.