vendor/plivo/plivo-php/src/Plivo/Resources/Number/Number.php
Undefined index: object_id and object_type while getting number list
if ($response['object_id']) {
$this->properties['objectId'] = $response['object_id'];
}
if ($response['object_type']) {
$this->properties['objectType'] = $response['object_type'];
}
shouldn't these vars i-e object_id or object_type should be checked I mean in_array($response, 'object_id') etc
same error as this https://github.com/plivo/plivo-php/issues/278 for list numbers
vendor/plivo/plivo-php/src/Plivo/Resources/Number/Number.php Undefined index: object_id and object_type while getting number list if ($response['object_id']) { $this->properties['objectId'] = $response['object_id']; } if ($response['object_type']) { $this->properties['objectType'] = $response['object_type']; }
shouldn't these vars i-e object_id or object_type should be checked I mean in_array($response, 'object_id') etc