[WebLink] Specify Link attributes types in PHPDoc #37944
Annotations
10 errors
UndefinedAttributeClass:
src/Symfony/Component/WebLink/GenericLinkProvider.php#L65
src/Symfony/Component/WebLink/GenericLinkProvider.php:65:7: UndefinedAttributeClass: Attribute class NoDiscard does not exist (see https://psalm.dev/241)
|
UndefinedAttributeClass:
src/Symfony/Component/WebLink/GenericLinkProvider.php#L56
src/Symfony/Component/WebLink/GenericLinkProvider.php:56:7: UndefinedAttributeClass: Attribute class NoDiscard does not exist (see https://psalm.dev/241)
|
UndefinedAttributeClass:
src/Symfony/Component/WebLink/Link.php#L232
src/Symfony/Component/WebLink/Link.php:232:7: UndefinedAttributeClass: Attribute class NoDiscard does not exist (see https://psalm.dev/241)
|
MoreSpecificImplementedParamType:
src/Symfony/Component/WebLink/Link.php#L224
src/Symfony/Component/WebLink/Link.php:224:94: MoreSpecificImplementedParamType: Argument 2 of Symfony\Component\WebLink\Link::withAttribute has the more specific type 'Stringable|list<Stringable|scalar>|scalar', expecting 'Stringable|array<array-key, mixed>|scalar' as defined by Psr\Link\EvolvableLinkInterface::withAttribute (see https://psalm.dev/140)
|
UndefinedAttributeClass:
src/Symfony/Component/WebLink/Link.php#L223
src/Symfony/Component/WebLink/Link.php:223:7: UndefinedAttributeClass: Attribute class NoDiscard does not exist (see https://psalm.dev/241)
|
UndefinedAttributeClass:
src/Symfony/Component/WebLink/Link.php#L206
src/Symfony/Component/WebLink/Link.php:206:7: UndefinedAttributeClass: Attribute class NoDiscard does not exist (see https://psalm.dev/241)
|
UndefinedAttributeClass:
src/Symfony/Component/WebLink/Link.php#L197
src/Symfony/Component/WebLink/Link.php:197:7: UndefinedAttributeClass: Attribute class NoDiscard does not exist (see https://psalm.dev/241)
|
UndefinedAttributeClass:
src/Symfony/Component/WebLink/Link.php#L188
src/Symfony/Component/WebLink/Link.php:188:7: UndefinedAttributeClass: Attribute class NoDiscard does not exist (see https://psalm.dev/241)
|
UndefinedAttributeClass:
src/Symfony/Component/WebLink/GenericLinkProvider.php#L65
src/Symfony/Component/WebLink/GenericLinkProvider.php:65:7: UndefinedAttributeClass: Attribute class NoDiscard does not exist (see https://psalm.dev/241)
|
UndefinedAttributeClass:
src/Symfony/Component/WebLink/GenericLinkProvider.php#L56
src/Symfony/Component/WebLink/GenericLinkProvider.php:56:7: UndefinedAttributeClass: Attribute class NoDiscard does not exist (see https://psalm.dev/241)
|