why methods are deprecated Nette\Utils::getReturnTypes(), Nette\Utils::getParameterTypes() Nette\Utils::getPropertyTypes() ? #267
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. |
Beta Was this translation helpful? Give feedback.
-
@dg Are you planning make refactoring code depends |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions