mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/tickme.git
synced 2026-08-23 06:24:12 +00:00
minor fixes
This commit is contained in:
@@ -16,17 +16,17 @@ class MilestoneTaskObject implements DataTransferObject
|
||||
/** @var string */
|
||||
private $title;
|
||||
|
||||
/** @var string */
|
||||
/** @var string|null */
|
||||
private $description;
|
||||
|
||||
/**
|
||||
* MilestoneTaskObject constructor.
|
||||
* @param int $milestoneId
|
||||
* @param int $typeId
|
||||
* @param string $title
|
||||
* @param string $description
|
||||
* @param int $typeId
|
||||
* @param string $title
|
||||
* @param null|string $description
|
||||
*/
|
||||
public function __construct(int $milestoneId, int $typeId, string $title, string $description)
|
||||
public function __construct(int $milestoneId, int $typeId, string $title, ?string $description)
|
||||
{
|
||||
$this->milestoneId = $milestoneId;
|
||||
$this->typeId = $typeId;
|
||||
@@ -59,13 +59,12 @@ class MilestoneTaskObject implements DataTransferObject
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
* @return null|string
|
||||
*/
|
||||
public function getDescription(): string
|
||||
public function getDescription(): ?string
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user