chore(unsubscribe): Remove dead code.

This commit is contained in:
Quentin 2017-12-19 14:06:42 +01:00 committed by David Garcia
parent ef5336450e
commit 8e5420d78a

View File

@ -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
*/