cakephp/cakephp — pull request #4940 by jrbasso (2014-10-20 20:44:47+00:00)
Title: Replaced for loops by foreach

It also removes the assignment by reference and the multiple access of the static attribute when not necessary.