Skip to content

Commit 4b97b12

Browse files
committed
ACP2E-3561: Customer Segment edition fails with daterange
1 parent 5a02088 commit 4b97b12

File tree

1 file changed

+5
-1
lines changed
  • lib/internal/Magento/Framework/Data/Test/Unit/Form/Element

1 file changed

+5
-1
lines changed

lib/internal/Magento/Framework/Data/Test/Unit/Form/Element/DateTest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,12 @@ protected function getFormMock($exactly)
128128

129129
/**
130130
* @dataProvider providerGetValue
131+
* @param string|null $dateFormat
132+
* @param string|null $format
133+
* @param string|null $timeFormat
134+
* @param string $expectedFormat
131135
*/
132-
public function testGetValue($dateFormat, $format, $timeFormat, $expectedFormat)
136+
public function testGetValue(?string $dateFormat, ?string $format, ?string $timeFormat, string $expectedFormat)
133137
{
134138
$dateTime = new \DateTime('2025-10-13 10:36:00', new \DateTimeZone('America/Los_Angeles'));
135139
$this->model->setValue($dateTime);

0 commit comments

Comments
 (0)