From 8e5420d78a29d34638922f33ea4c894eac258eaf Mon Sep 17 00:00:00 2001 From: Quentin Date: Tue, 19 Dec 2017 14:06:42 +0100 Subject: [PATCH] chore(unsubscribe): Remove dead code. --- .../Suppression/Unsubscribe/Unsubscribe.php | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/src/Mailgun/Model/Suppression/Unsubscribe/Unsubscribe.php b/src/Mailgun/Model/Suppression/Unsubscribe/Unsubscribe.php index 34a6a14..0836428 100644 --- a/src/Mailgun/Model/Suppression/Unsubscribe/Unsubscribe.php +++ b/src/Mailgun/Model/Suppression/Unsubscribe/Unsubscribe.php @@ -19,11 +19,6 @@ class Unsubscribe */ private $address; - /** - * @var string - */ - private $tag; - /** * @var \DateTime */ @@ -52,9 +47,6 @@ class Unsubscribe { $unsubscribe = new self($data['address']); - if (isset($data['tag'])) { - $unsubscribe->setTag($data['tag']); - } if (isset($data['tags'])) { $unsubscribe->setTags($data['tags']); } @@ -73,22 +65,6 @@ class Unsubscribe return $this->address; } - /** - * @return string - */ - public function getTag() - { - return $this->tag; - } - - /** - * @param string $tag - */ - private function setTag($tag) - { - $this->tag = $tag; - } - /** * @return \DateTime */