diff --git a/lib/puppet/functions/map.rb b/lib/puppet/functions/map.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/functions/map.rb
+++ b/lib/puppet/functions/map.rb
@@ -125,7 +125,7 @@ Puppet::Functions.create_function(:map) do
         index = 0
         loop do
           result << yield(index, enum.next)
-          index = index +1
+          index = index + 1
         end
       rescue StopIteration
       end
(PUP-<I>) Remove '`+' after local variable or literal is interpreted as binary operator' warning