diff --git a/src/Entity/StatusTrait.php b/src/Entity/StatusTrait.php index 6b29709..7fb6691 100644 --- a/src/Entity/StatusTrait.php +++ b/src/Entity/StatusTrait.php @@ -14,16 +14,16 @@ trait StatusTrait { /** - * Status of the item. It can either be active or inactive. + * Status of the item. * - * @var boolean + * @var string */ protected $status; /** * Get the status * - * @return boolean + * @return string */ public function getStatus() { @@ -33,12 +33,12 @@ public function getStatus() /** * Set the status * - * @param boolean $status + * @param string $status * @return StatusTrait */ public function setStatus($status) { - $this->status = (bool)$status; + $this->status = $status; return $this; }