1
0
mirror of synced 2024-11-25 13:16:01 +03:00

Merge pull request #7 from Neur0toxine/master

fix: change Register::active type from string to boolean
This commit is contained in:
Alex Lushpai 2019-07-23 17:33:34 +03:00 committed by GitHub
commit 93e06271c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,8 +51,8 @@ class Register
private $integrationCode;
/**
* @var string $active
* @Type("string")
* @var bool $active
* @Type("bool")
* @Accessor(getter="getActive",setter="setActive")
* @SkipWhenEmpty
*/
@ -184,7 +184,7 @@ class Register
}
/**
* @return string
* @return bool
*/
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;
}