1
0
mirror of synced 2024-11-22 03:46:02 +03:00

fix: change Register::active type from string to boolean

This commit is contained in:
Pavel 2019-07-23 17:25:59 +03:00
parent f8f5cd1d1e
commit 561737ffbc

View File

@ -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;
} }