Calling instead time() is much faster than creating a new Carbon instance.
Change diffInHours so that only one child function (diffInSeconds) is called.