8000 Use scalar pseudo-type · symfony/symfony@c74c0b3 · GitHub
[go: up one dir, main page]

Skip to content

Commit c74c0b3

Browse files
committed
Use scalar pseudo-type
1 parent 4c81855 commit c74c0b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/WebLink/Link.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public function getRels(): array
178178
/**
179179
* Returns a list of attributes that describe the target URI.
180180
*
181-
* @return array<string, string|\Stringable|int|float|bool|list<string|\Stringable|int|float|bool>>
181+
* @return array<string, scalar|\Stringable|<scalar|\Stringable>>
182182
*/
183183
public function getAttributes(): array
184184
{
@@ -215,7 +215,7 @@ public function withoutRel(string $rel): static
215215
* If the specified attribute is already present, it will be overwritten
216216
* with the new value.
217217
*
218-
* @param string|\Stringable|int|float|bool|list<string|\Stringable|int|float|bool> $value
218+
* @param scalar|\Stringable|list<scalar|\Stringable> $value
219219
*/
220220
public function withAttribute(string $attribute, string|\Stringable|int|float|bool|array $value): static
221221
{

0 commit comments

Comments
 (0)
0