ITranslator vs Translator
- Zrny
- Member | 5
When can i expect that the method
Nette\Bridges\ApplicationLatte\Template::setTranslator()
will have
interface Translator
instead of ITranslator
in its
typehint?
I know it has an alias created, so it will work, but PhpStorm is screaming… Can i somehow disable the inspection for this one case?
- dkorpar
- Member | 135
You're using dev version? From what I see Translator will replace
ITranslator in 3.1 or something.
Not sure how wise it is to us dev versions since things can change quickly there
and could be that not all code is still okay with this so I would rather wait
for stable release…