| @@ 130-135 (lines=6) @@ | ||
| 127 |             throw new Exception(__('Parameters must be an array.')); | 
                                |
| 128 | }  | 
                                |
| 129 | ||
| 130 |         if (isset($payload['notification'])) { | 
                                |
| 131 | $payload['notification'] = $this->_checkNotification($payload['notification']);  | 
                                |
| 132 |             if (!$payload['notification']) { | 
                                |
| 133 |                 throw new Exception(__("Unable to check notification.")); | 
                                |
| 134 | }  | 
                                |
| 135 | }  | 
                                |
| 136 | ||
| 137 |         if (isset($payload['data'])) { | 
                                |
| 138 | $payload['data'] = $this->_checkData($payload['data']);  | 
                                |
| @@ 137-142 (lines=6) @@ | ||
| 134 | }  | 
                                |
| 135 | }  | 
                                |
| 136 | ||
| 137 |         if (isset($payload['data'])) { | 
                                |
| 138 | $payload['data'] = $this->_checkData($payload['data']);  | 
                                |
| 139 |             if (!$payload['data']) { | 
                                |
| 140 |                 throw new Exception(__("Unable to check data.")); | 
                                |
| 141 | }  | 
                                |
| 142 | }  | 
                                |
| 143 | ||
| 144 | $parameters = $this->_checkParameters($parameters);  | 
                                |
| 145 |         if (!$parameters) { | 
                                |