diff --git a/src/Object/Api/Twitter/DirectMessage.php b/src/Object/Api/Twitter/DirectMessage.php index 7c69b82a32..d34ef46b51 100644 --- a/src/Object/Api/Twitter/DirectMessage.php +++ b/src/Object/Api/Twitter/DirectMessage.php @@ -92,12 +92,8 @@ class DirectMessage extends BaseDataTransferObject unset($status['title']); } - if (isset($status['sender']['uid'])) { - unset($status['sender']['uid']); - } - if (isset($status['recipient']['uid'])) { - unset($status['recipient']['uid']); - } + unset($status['sender']['uid']); + unset($status['recipient']['uid']); return $status; }