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

Skip to content

Commit df20840

Browse files
committed
Use scalar pseudo-type
1 parent 9473604 commit df20840

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/WebLink/Link.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public function getRels(): array
184184
/**
185185
* Returns a list of attributes that describe the target URI.
186186
*
187-
* @return array<string, string|\Stringable|int|float|bool|list<string|\Stringable|int|float|bool>>
187+
* @return array<string, scalar|\Stringable|list<scalar|\Stringable>>
188188
*/
189189
public function getAttributes(): array
190190
{
@@ -221,7 +221,7 @@ public function withoutRel(string $rel): static
221221
* If the specified attribute is already present, it will be overwritten
222222
* with the new value.
223223
*
224-
* @param string|\Stringable|int|float|bool|list<string|\Stringable|int|float|bool> $value
224+
* @param scalar|\Stringable|list<scalar|\Stringable> $value
225225
*/
226226
public function withAttribute(string $attribute, string|\Stringable|int|float|bool|array $value): static
227227
{

0 commit comments

Comments
 (0)
0