Skip to content

Commit 1684bb4

Browse files
committed
docs: Take out the dataTimeInterface type.
1 parent 301d0c3 commit 1684bb4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/system/Cookie/CookieTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use CodeIgniter\Test\CIUnitTestCase;
1616
use Config\Cookie as CookieConfig;
1717
use DateTimeImmutable;
18-
use DateTimeInterface;
1918
use DateTimeZone;
2019
use Generator;
2120
use LogicException;
@@ -169,7 +168,7 @@ public function testExpirationTime(): void
169168
/**
170169
* @dataProvider invalidExpiresProvider
171170
*
172-
* @param DateTimeInterface|int|string $expires
171+
* @param bool|float|string $expires
173172
*/
174173
public function testInvalidExpires($expires): void
175174
{

0 commit comments

Comments
 (0)