Skip to content

Commit

Permalink
Tenant DateTimeImmutable format fix (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn1001 authored Mar 2, 2022
1 parent 7efae04 commit 3327cbb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Entity/Tenant.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,21 +146,21 @@ class Tenant
/**
* @var DateTimeImmutable
* @Serializer\SerializedName("created_at")
* @Serializer\Type("DateTimeImmutable<'Y-m-d H:i:s', '', 'Y-m-d\TH:i:s'>")
* @Serializer\Type("DateTimeImmutable<'Y-m-d H:i:s', '', ['Y-m-d\TH:i:s\Z', 'Y-m-d\TH:i:s']>")
*/
private $createdAt;

/**
* @var DateTimeImmutable
* @Serializer\SerializedName("updated_at")
* @Serializer\Type("DateTimeImmutable<'Y-m-d H:i:s', '', 'Y-m-d\TH:i:s'>")
* @Serializer\Type("DateTimeImmutable<'Y-m-d H:i:s', '', ['Y-m-d\TH:i:s\Z', 'Y-m-d\TH:i:s']>")
*/
private $updatedAt;

/**
* @var DateTimeImmutable|null
* @Serializer\SerializedName("deleted_at")
* @Serializer\Type("DateTimeImmutable<'Y-m-d H:i:s', '', 'Y-m-d\TH:i:s'>")
* @Serializer\Type("DateTimeImmutable<'Y-m-d H:i:s', '', ['Y-m-d\TH:i:s\Z', 'Y-m-d\TH:i:s']>")
*/
private $deletedAt;

Expand Down

0 comments on commit 3327cbb

Please sign in to comment.