So basically add the null safe operator in. It will allow us to chain calls without having to worry about the method not returning the desired result. ``` function($user) { $user?->getAddress()?->getZipCode(); } ```
So basically add the null safe operator in.
It will allow us to chain calls without having to worry about the method not returning the desired result.