Skip to content

Commit 91006d3

Browse files
committed
docs: change the type.
1 parent 3fbad73 commit 91006d3

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

system/Cookie/Cookie.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -595,8 +595,8 @@ public function offsetGet($offset)
595595
/**
596596
* Offset to set.
597597
*
598-
* @param string $offset
599-
* @param array|bool|float|int|object|string|null $value
598+
* @param string $offset
599+
* @param bool|int|string $value
600600
*
601601
* @throws LogicException
602602
*/

system/Cookie/CookieInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public function __toString();
162162
/**
163163
* Returns the array representation of the Cookie object.
164164
*
165-
* @return array<string, bool|int|object|string>
165+
* @return array<string, bool|int|string>
166166
*/
167167
public function toArray(): array;
168168
}

tests/system/Cookie/CookieTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public function testExpirationTime(): void
168168
/**
169169
* @dataProvider invalidExpiresProvider
170170
*
171-
* @param int|object $expires
171+
* @param DateTimeInterface|int|string $expires
172172
*/
173173
public function testInvalidExpires($expires): void
174174
{

0 commit comments

Comments
 (0)