Class Type Declarations

Class type declaration prevent your methods from receiving the wrong type of objects. This allows any wrong types to be identified without you having to write additional checks in your code.

Branch: https://github.com/GaryClarke/learn-oophp/tree/8-class-type-declarations

Complete and Continue  
Discussion

0 comments