File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed
Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -23,25 +23,14 @@ class LoggerMiddleware implements MiddlewareInterface
2323 */
2424 private $ logger ;
2525
26- /**
27- * @var array
28- */
2926 private $ context = [];
3027
31- /**
32- * LogMiddleware constructor.
33- * @param LoggerInterface $logger
34- */
3528 public function __construct (LoggerInterface $ logger )
3629 {
3730 $ this ->logger = $ logger ;
3831 }
3932
4033 /**
41- * @param RequestInterface $request
42- * @param array $options
43- * @return CancellablePromiseInterface
44- *
4534 * @Last()
4635 */
4736 public function pre (
@@ -68,10 +57,6 @@ public function pre(
6857 }
6958
7059 /**
71- * @param ResponseInterface $response
72- * @param array $options
73- * @return CancellablePromiseInterface
74- *
7560 * @Last()
7661 */
7762 public function post (
@@ -102,10 +87,6 @@ public function post(
10287 }
10388
10489 /**
105- * @param Throwable $throwable
106- * @param array $options
107- * @return CancellablePromiseInterface
108- *
10990 * @Last()
11091 */
11192 public function error (
@@ -148,11 +129,6 @@ public function error(
148129 return reject ($ throwable );
149130 }
150131
151- /**
152- * @param string $prefix
153- * @param array $headers
154- * @param array $ignoreHeaders
155- */
156132 protected function iterateHeaders (
157133 array $ context ,
158134 string $ prefix ,
You can’t perform that action at this time.
0 commit comments