fix: change Register::active type from string to boolean
This commit is contained in:
parent
f8f5cd1d1e
commit
561737ffbc
@ -51,8 +51,8 @@ class Register
|
|||||||
private $integrationCode;
|
private $integrationCode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string $active
|
* @var bool $active
|
||||||
* @Type("string")
|
* @Type("bool")
|
||||||
* @Accessor(getter="getActive",setter="setActive")
|
* @Accessor(getter="getActive",setter="setActive")
|
||||||
* @SkipWhenEmpty
|
* @SkipWhenEmpty
|
||||||
*/
|
*/
|
||||||
@ -184,7 +184,7 @@ class Register
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function getActive()
|
public function getActive()
|
||||||
{
|
{
|
||||||
@ -192,9 +192,9 @@ class Register
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $active
|
* @param bool $active
|
||||||
*/
|
*/
|
||||||
public function setActive(string $active)
|
public function setActive(bool $active)
|
||||||
{
|
{
|
||||||
$this->active = $active;
|
$this->active = $active;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user