Type hinting will not only free you from a validation that $app holds the correct content. It is also nice to tell someone who has to use the code what is expected $app to be without the necessity to read the whole code and still have to guess what it exactly has to be. 
I agree that the execution will fail weather there is a type hint or not, but this is not the point.