@@ -39,6 +39,9 @@ |
||
39 | 39 | self::create(['key' => $key, 'value' => $value]); |
40 | 40 | } |
41 | 41 | |
42 | + /** |
|
43 | + * @param string $key |
|
44 | + */ |
|
42 | 45 | public static function get($key) |
43 | 46 | { |
44 | 47 | $setting = self::findOrFail($key); |
@@ -30,6 +30,9 @@ |
||
30 | 30 | ]); |
31 | 31 | } |
32 | 32 | |
33 | + /** |
|
34 | + * @return double |
|
35 | + */ |
|
33 | 36 | public function getPayment($paymentId) |
34 | 37 | { |
35 | 38 | return $this->client->payments()->get($paymentId); |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | * |
144 | 144 | * @param $message |
145 | 145 | * @param $device |
146 | - * @return Response |
|
146 | + * @return \Illuminate\Http\JsonResponse |
|
147 | 147 | */ |
148 | 148 | private function handleSystemCheckIn($message, $device, $service) |
149 | 149 | { |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | * @param int $statusCode |
184 | 184 | * @param array $responseData |
185 | 185 | * |
186 | - * @return \Response |
|
186 | + * @return \Illuminate\Http\JsonResponse |
|
187 | 187 | */ |
188 | 188 | private function sendResponse($statusCode = 200, array $responseData) |
189 | 189 | { |