Slightly better use of the array_get helper method