Completed
Push — master ( 9260f2...0fae22 )
by Charles
01:40
created
components/HttpClientComponent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
             'transport' => $this->transport
54 54
         ]);
55 55
 
56
-        $this->client->on(Client::EVENT_BEFORE_SEND, function (RequestEvent $e) {
56
+        $this->client->on(Client::EVENT_BEFORE_SEND, function(RequestEvent $e) {
57 57
             Yii::info([
58 58
                 'message' => sprintf('Sending HTTP request [%s] %s', $e->request->getMethod(), $e->request->getUrl()),
59 59
                 'data' => [
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             ], 'httpclient');
66 66
         });
67 67
 
68
-        $this->client->on(Client::EVENT_AFTER_SEND, function (RequestEvent $e) {
68
+        $this->client->on(Client::EVENT_AFTER_SEND, function(RequestEvent $e) {
69 69
             Yii::info([
70 70
                 'message' => sprintf('Recieved HTTP response HTTP [%s] | [%s] %s', $e->response->getStatusCode(), $e->request->getMethod(), $e->request->getUrl()),
71 71
                 'data' => [
Please login to merge, or discard this patch.