Skip to content

Adds return type declaration to methods#6

Open
bridennis wants to merge 1 commit into
filhocodes:masterfrom
bridennis:add-return-type-declaration
Open

Adds return type declaration to methods#6
bridennis wants to merge 1 commit into
filhocodes:masterfrom
bridennis:add-return-type-declaration

Conversation

@bridennis
Copy link
Copy Markdown

This PR eliminates many deprecation warnings like this one:
Method "Twig\TokenParser\TokenParserInterface::parse()" might add "Node" as a native return type declaration in the future. Do the same in implementation "FilhoCodes\TwigStackExtension\TokenParsers\StackTokenParser" now to avoid errors or add an explicit @return annotation to suppress this message.

@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 93.567%. remained the same when pulling faae0d0 on bridennis:add-return-type-declaration into 5d97298 on filhocodes:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants