Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
19 | protected function parseNotification() |
||
20 | { |
||
21 | $dataResult = $this->hasPOST('opensslResult') |
||
22 | ? $this->httpRequest->request->get('opensslResult') |
||
23 | : $this->httpRequest->request->get('result'); |
||
24 | |||
25 | $json = Helper::decrypt($dataResult, $this->getApiKey()); |
||
|
|||
26 | $data = json_decode($json, true); |
||
27 | return $data; |
||
28 | } |
||
38 |