Closed dinhquochan closed 3 years ago
I agree with you. Laravel, as the major framework of the PHP world, needs to adapt to language changes and push developers to use new features.
Adding types is a breaking change. You are free to go type crazy in your own application. 👍
Now, Laravel
9.x
is required PHP version7.4
and8.0
. I think we should update all classes in Laravel core to support PHP Type Declarations (type-hints).What do you think?