|
@@ 104-109 (lines=6) @@
|
| 101 |
|
throw new \LogicException(__('Parameters must be an array.')); |
| 102 |
|
} |
| 103 |
|
|
| 104 |
|
if (isset($payload['notification'])) { |
| 105 |
|
$payload['notification'] = $this->_checkNotification($payload['notification']); |
| 106 |
|
if (!$payload['notification']) { |
| 107 |
|
throw new \LogicException(__("Unable to check notification.")); |
| 108 |
|
} |
| 109 |
|
} |
| 110 |
|
|
| 111 |
|
if (isset($payload['data'])) { |
| 112 |
|
$payload['data'] = $this->_checkData($payload['data']); |
|
@@ 111-116 (lines=6) @@
|
| 108 |
|
} |
| 109 |
|
} |
| 110 |
|
|
| 111 |
|
if (isset($payload['data'])) { |
| 112 |
|
$payload['data'] = $this->_checkData($payload['data']); |
| 113 |
|
if (!$payload['data']) { |
| 114 |
|
throw new \LogicException(__("Unable to check data.")); |
| 115 |
|
} |
| 116 |
|
} |
| 117 |
|
|
| 118 |
|
$parameters = $this->_checkParameters($parameters); |
| 119 |
|
if (!$parameters) { |