@@ -48,6 +48,9 @@ |
||
48 | 48 | return stream_context_create($streamOptions); |
49 | 49 | } |
50 | 50 | |
51 | + /** |
|
52 | + * @param string $data |
|
53 | + */ |
|
51 | 54 | public function logResponse($data, $deviceToken, $message, $action) |
52 | 55 | { |
53 | 56 | $response = json_decode($data); |
@@ -42,7 +42,7 @@ |
||
42 | 42 | 'method' => 'POST', |
43 | 43 | 'header' => "Authorization: key={$this->authKey}\r\n"."Content-Type: application/json\r\n", |
44 | 44 | 'content' => json_encode($postData), |
45 | - ], |
|
45 | + ], |
|
46 | 46 | ]; |
47 | 47 | |
48 | 48 | return stream_context_create($streamOptions); |