Skip to content

Commit

Permalink
Update ConvertDateTimeProperty.php
Browse files Browse the repository at this point in the history
  • Loading branch information
safaksaylam committed May 28, 2023
1 parent ee8fc01 commit 0f6a427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/ConvertDateTimeProperty.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ConvertDateTimeProperty implements ConvertPropertyInterface
{
use PropertyAccessorTrait;

public function __construct(public string $property, public string $format = \DateTimeInterface::ISO8601, public ?string $timezone = null)
public function __construct(public string $property, public string $format = \DateTimeInterface::ISO8601, public ?\DateTimeZone $timezone = null)
{
}

Expand Down

0 comments on commit 0f6a427

Please sign in to comment.