Account phpDoc and unnecessary method removal.

This commit is contained in:
Alexey Skobkin 2017-01-13 02:42:19 +03:00
parent 4d4493f7cd
commit 37e0d10611
1 changed files with 0 additions and 19 deletions

View File

@ -106,13 +106,6 @@ class Account
public function __construct(int $id)
{
$this->id = $id;
}
/**
* @ORM\PrePersist()
*/
public function prePersist(): void
{
$this->createdAt = new \DateTime();
}
@ -129,25 +122,16 @@ class Account
return $this->id;
}
/**
* @return \DateTime
*/
public function getCreatedAt(): \DateTime
{
return $this->createdAt;
}
/**
* @return \DateTime
*/
public function getUpdatedAt(): \DateTime
{
return $this->updatedAt;
}
/**
* @return \DateTime
*/
public function getLinkedAt(): \DateTime
{
return $this->linkedAt;
@ -222,9 +206,6 @@ class Account
return $this->user->getId();
}
/**
* Disables all notifications
*/
public function disableNotifications(): self
{
$this->subscriberNotification = false;