Allow some inlinenodes to have child nodes #3184
Annotations
6 errors
Run vimeo/psalm:
packages/guides-markdown/src/Markdown/Parsers/InlineParsers/EmphasisParser.php#L40
packages/guides-markdown/src/Markdown/Parsers/InlineParsers/EmphasisParser.php:40:118: LessSpecificImplementedReturnType: The inherited return type 'phpDocumentor\Guides\Nodes\Inline\EmphasisInlineNode' for phpDocumentor\Guides\Markdown\Parsers\InlineParsers\AbstractInlineTextDecoratorParser::createInlineNode is more specific than the implemented return type for phpDocumentor\Guides\Markdown\Parsers\InlineParsers\EmphasisParser::createinlinenode 'phpDocumentor\Guides\Nodes\Inline\InlineNodeInterface' (see https://psalm.dev/166)
|
Run vimeo/psalm:
packages/guides-markdown/src/Markdown/Parsers/InlineParsers/LinkParser.php#L47
packages/guides-markdown/src/Markdown/Parsers/InlineParsers/LinkParser.php:47:118: LessSpecificImplementedReturnType: The inherited return type 'phpDocumentor\Guides\Nodes\Inline\HyperLinkNode' for phpDocumentor\Guides\Markdown\Parsers\InlineParsers\AbstractInlineTextDecoratorParser::createInlineNode is more specific than the implemented return type for phpDocumentor\Guides\Markdown\Parsers\InlineParsers\LinkParser::createinlinenode 'phpDocumentor\Guides\Nodes\Inline\InlineNodeInterface' (see https://psalm.dev/166)
|
Run vimeo/psalm:
packages/guides-markdown/src/Markdown/Parsers/InlineParsers/StrongParser.php#L40
packages/guides-markdown/src/Markdown/Parsers/InlineParsers/StrongParser.php:40:118: LessSpecificImplementedReturnType: The inherited return type 'phpDocumentor\Guides\Nodes\Inline\StrongInlineNode' for phpDocumentor\Guides\Markdown\Parsers\InlineParsers\AbstractInlineTextDecoratorParser::createInlineNode is more specific than the implemented return type for phpDocumentor\Guides\Markdown\Parsers\InlineParsers\StrongParser::createinlinenode 'phpDocumentor\Guides\Nodes\Inline\InlineNodeInterface' (see https://psalm.dev/166)
|
Run vimeo/psalm:
packages/guides/src/Nodes/Inline/BCInlineNodeBehavior.php#L34
packages/guides/src/Nodes/Inline/BCInlineNodeBehavior.php:34:36: MoreSpecificImplementedParamType: Argument 1 of phpDocumentor\Guides\Nodes\Inline\BCInlineNodeBehavior::setValue has the more specific type 'array<array-key, phpDocumentor\Guides\Nodes\Inline\InlineNodeInterface>|string', expecting 'mixed' as defined by phpDocumentor\Guides\Nodes\Node::setValue (see https://psalm.dev/140)
|
Run vimeo/psalm:
packages/guides/src/Nodes/Inline/BCInlineNodeBehavior.php#L34
packages/guides/src/Nodes/Inline/BCInlineNodeBehavior.php:34:36: MoreSpecificImplementedParamType: Argument 1 of phpDocumentor\Guides\Nodes\Inline\BCInlineNodeBehavior::setValue has the more specific type 'array<array-key, phpDocumentor\Guides\Nodes\Inline\InlineNodeInterface>|string', expecting 'TValue:phpDocumentor\Guides\Nodes\AbstractNode as mixed' as defined by phpDocumentor\Guides\Nodes\AbstractNode::setValue (see https://psalm.dev/140)
|
Run vimeo/psalm
Process completed with exit code 2.
|
Loading