Skip to content

Commit

Permalink
typo (#325)
Browse files Browse the repository at this point in the history
This seems to be an unwanted change introduced in 3.2.1 in 01039d1
  • Loading branch information
spaze authored and dg committed Mar 31, 2024
1 parent 3643fcc commit 90b05b7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Forms/Controls/DateTimeControl.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ class DateTimeControl extends BaseControl
private string $format = self::FormatObject;


public function __construct(string|Stringable|null $label = null, int $type = self::Date, bool $withSeconds = false)
{
public function __construct(
string|Stringable|null $label = null,
int $type = self::TypeDate,
bool $withSeconds = false,
) {
$this->type = $type;
$this->withSeconds = $withSeconds;
parent::__construct($label);
Expand Down

0 comments on commit 90b05b7

Please sign in to comment.