Skip to content

Add missing return types in 4.0#4211

Merged
fabpot merged 1 commit into
twigphp:4.xfrom
smnandre:feat/add-return-types-backs
Aug 17, 2024
Merged

Add missing return types in 4.0#4211
fabpot merged 1 commit into
twigphp:4.xfrom
smnandre:feat/add-return-types-backs

Conversation

@smnandre

@smnandre smnandre commented Aug 17, 2024

Copy link
Copy Markdown
Contributor

Revert the removal of return types done in #3156

Should i propagate to extra packages in the same PR ?

@smnandre smnandre changed the title Add missing return types Add missing return types in 4.0 Aug 17, 2024
Comment thread src/Extension/ExtensionInterface.php
@fabpot

fabpot commented Aug 17, 2024

Copy link
Copy Markdown
Contributor

@smnandre Yes, we should do it on extra as well.

@smnandre

Copy link
Copy Markdown
Contributor Author

I made a pass on them and think it's good :)

@fabpot fabpot force-pushed the feat/add-return-types-backs branch from 967fe81 to 470965f Compare August 17, 2024 21:10
@fabpot

fabpot commented Aug 17, 2024

Copy link
Copy Markdown
Contributor

Thank you @smnandre.

@fabpot fabpot merged commit 88cabcc into twigphp:4.x Aug 17, 2024
@smnandre

Copy link
Copy Markdown
Contributor Author

Arf I found others while checking sorry .... in code runtimeloader + docs. I'll open another PR :|

fabpot pushed a commit to smnandre/Twig that referenced this pull request Aug 17, 2024
fabpot added a commit that referenced this pull request Aug 17, 2024
This PR was squashed before being merged into the 4.x branch.

Discussion
----------

Add return types missed in #4211

Complete #4211 (sorry)

I forgot to update the docs, and found some others in RuntimeLoader(s)

Commits
-------

21f08dc Add return types missed in #4211
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants