Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c74c0b3

Browse filesBrowse files
committed
Use scalar pseudo-type
1 parent 4c81855 commit c74c0b3
Copy full SHA for c74c0b3

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎src/Symfony/Component/WebLink/Link.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/WebLink/Link.php
+2-2Lines changed: 2 additions & 2 deletions
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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.