Continue improving type hints

This commit is contained in:
Alex Cabal 2024-05-10 22:28:24 -05:00
parent eb376c87bd
commit 703e1a7a03
73 changed files with 98 additions and 114 deletions

View file

@ -1,9 +1,5 @@
<?
use Exceptions\InvalidNewsletterSubscription;
use Exceptions\NewsletterSubscriptionExistsException;
use Safe\DateTimeImmutable;
use Safe\Exceptions\ErrorfuncException;
/**
* @property User $User
@ -17,8 +13,8 @@ class NewsletterSubscription{
public bool $IsSubscribedToNewsletter = false;
public ?int $UserId = null;
public DateTimeImmutable $Created;
protected $_User;
protected $_Url = null;
protected ?User $_User = null;
protected ?string $_Url = null;
// *******
// GETTERS