We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0a24d9 commit 02acb91Copy full SHA for 02acb91
src/Entity/StatusTrait.php
@@ -14,16 +14,16 @@
14
trait StatusTrait
15
{
16
/**
17
- * Status of the item. It can either be active or inactive.
+ * Status of the item.
18
*
19
- * @var boolean
+ * @var string
20
*/
21
protected $status;
22
23
24
* Get the status
25
26
- * @return boolean
+ * @return string
27
28
public function getStatus()
29
@@ -33,12 +33,12 @@ public function getStatus()
33
34
* Set the status
35
36
- * @param boolean $status
+ * @param string $status
37
* @return StatusTrait
38
39
public function setStatus($status)
40
41
- $this->status = (bool)$status;
+ $this->status = $status;
42
return $this;
43
}
44
0 commit comments