I came across this issue when refactoring a function to return an item instead of an array, but I forgot to update the return benefit In the if assertion. I will not down vote but urge Devs to consider this rather then have null / vacant checks in the property https://herohomesrealty.in/