why methods are deprecated Nette\Utils::getReturnTypes(), Nette\Utils::getParameterTypes() Nette\Utils::getPropertyTypes() ? #267
petrparolek
started this conversation in
General
Replies: 3 comments 2 replies
|
Because in PHP 8.1 there are new intersection types that it can't handle. So instead of this, there is Type class. |
0 replies
|
@dg Are you planning make refactoring code depends |
1 reply
|
OK, česky - když jsou metody Nette\Utils::getReturnTypes(), Nette\Utils::getParameterTypes() and Nette\Utils::getPropertyTypes() označeny jako deprecated, plánuješ refactoring kodu Nette 3.0 a 3.1, který volá tyto metody? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Versions: 3.1.6 and 3.2.5
Bug Description
Methods are deprecated Nette\Utils::getReturnTypes(), Nette\Utils::getParameterTypes() Nette\Utils::getPropertyTypes() ?
Expected Behavior
Not deprecated these methods
Description
I found these methods are still used in Nette packages
All reactions