Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitc74c0b3

Browse files
committed
Use scalar pseudo-type
1 parent4c81855 commitc74c0b3

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
@@ -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
publicfunctiongetAttributes():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-
* @paramstring|\Stringable|int|float|bool|list<string|\Stringable|int|float|bool> $value
218+
* @paramscalar|\Stringable|list<scalar|\Stringable> $value
219219
*/
220220
publicfunctionwithAttribute(string$attribute,string|\Stringable|int|float|bool|array$value):static
221221
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp