*/
public function discoverRecipients (array $packageData) {
// This must be available
- assert($packageData[NetworkPackage::PACKAGE_DATA_RECIPIENT]);
+ assert(isset($packageData[NetworkPackage::PACKAGE_DATA_RECIPIENT]));
// First try out the direct recipient (session id)
try {
*/
public function discoverRawRecipients (array $decodedData) {
// This must be available
- assert($decodedData[NetworkPackage::PACKAGE_DATA_RECIPIENT]);
+ assert(isset($decodedData[NetworkPackage::PACKAGE_DATA_RECIPIENT]));
// First clear all recipients
$this->clearRecipients();