mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 07:10:29 -04:00
Continue improving type hints
This commit is contained in:
parent
eb376c87bd
commit
703e1a7a03
73 changed files with 98 additions and 114 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue