-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.x cleanup #22
3.x cleanup #22
Conversation
xificurk
commented
Apr 5, 2018
- Drobná dočištění související s odstraněním podpory pro PHP <5.6 a Nette <2.4.
- typehinty
Nestálo by za to zbavit se duplicitních phpdoců v místech, kde je typehint? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Zda se ok.
Souhlasim s @fmasa, duplicitni phpdocs nejsou potreba. Ale nechal bych to u poli @return array
=> @return string[]
Jen je potřeba brát v potaz, že přidávání typehintů je minor BC break. Protože ty třídy, kde se tak děje, nejsou final nebo aspoň internal, takže můžou v projektech tyhle třídy dědit a přetěžovat metody, což jim nebude fungovat. |
@fmasa tohle cílí 3.x větev, která zatím nemá release, takže BC breaky nevadí. |
🤦♂️ Jsem myslel, že jsem na #21 |