10000 Fix wider type. · php-fig/link-util@10e5234 · GitHub
[go: up one dir, main page]

Skip to content

Commit 10e5234

Browse files
committed
Fix wider type.
1 parent 00b3fd5 commit 10e5234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EvolvableLinkTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function withoutRel(string $rel): static
6161
*
6262
* @return EvolvableLinkInterface
6363
*/
64-
public function withAttribute(string $attribute, string $value): static
64+
public function withAttribute(string $attribute, string|\Stringable|int|float|bool|array $value): static
6565
{
6666
/** @ 3D1A var EvolvableLinkInterface $that */
6767
$that = clone($this);

0 commit comments

Comments
 (0)
0