Switch from DateTime to DateTimeImmutable across codebase

This commit is contained in:
Alex Cabal 2024-04-13 14:05:14 -05:00
parent 92c647f2b1
commit e55fecaaa2
35 changed files with 102 additions and 99 deletions

View file

@ -1,11 +1,13 @@
<?
use Safe\DateTimeImmutable;
/**
* @property User $User
*/
class Payment extends Accessor{
public int $PaymentId;
public ?int $UserId = null;
public DateTime $Created;
public DateTimeImmutable $Created;
public int $ChannelId;
public string $TransactionId;
public float $Amount;