Added property types to all non-deprecated classes

This commit is contained in:
Alejandro Celaya
2019-12-29 22:48:40 +01:00
parent b904c6d00d
commit a830420d75
66 changed files with 122 additions and 231 deletions

View File

@@ -12,12 +12,9 @@ class ApiKey extends AbstractEntity
{
use StringUtilsTrait;
/** @var string */
private $key;
/** @var Chronos|null */
private $expirationDate;
/** @var bool */
private $enabled;
private string $key;
private ?Chronos $expirationDate;
private bool $enabled;
public function __construct(?Chronos $expirationDate = null)
{