Renamed Closure to callable in phpdocs
Removed unused argument
Simplified range() initializer