[DOCUMENTATION][TOOL] Small bug fixes and docblock elaboration

This commit is contained in:
Diogo Cordeiro
2020-05-10 21:43:15 +01:00
committed by Hugo Sales
parent 243aefe683
commit cb7518a750
74 changed files with 655 additions and 449 deletions

View File

@@ -4,7 +4,7 @@
// This file is part of GNU social - https://www.gnu.org/software/soci
//
// GNU social is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as publ
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
@@ -13,12 +13,14 @@
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public Li
// You should have received a copy of the GNU Affero General Public License
// along with GNU social. If not, see <http://www.gnu.org/licenses/>.
// }}}
namespace App\Entity;
use DateTimeInterface;
/**
* Entity for Queue on joining a group
*
@@ -39,7 +41,7 @@ class GroupJoinQueue
private int $profile_id;
private int $group_id;
private \DateTimeInterface $created;
private DateTimeInterface $created;
public function setProfileId(int $profile_id): self
{
@@ -61,12 +63,12 @@ class GroupJoinQueue
return $this->group_id;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}