title: rubocop offense but not sure what is wrong
body: <p>I am cleaning up some code that I've inherited and there's this line but to be honest, I'm not sure what rubocop is trying to tell me is wrong with it. </p>
  
  <pre><code>  total_cost = tmp_totals.inject { |total, tmp_val| total + tmp_val }
  </code></pre>
  
  <p>I am getting this error </p>
  
  <pre><code>app/models/item_count.rb:58:40: C: Name inject block params |acc, elem|
  </code></pre>
  
  <p>that looks like this: </p>
  
  <p><a href="https://i.stack.imgur.com/eLMPq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eLMPq.png" alt="enter image description here"></a></p>
  
  <p>I am just trying to get past this cop. Any ideas what it is telling me to fix?</p>