laravel/framework — pull request #6866 by GrahamCampbell (2014-12-31 23:28:05+00:00)
Title: [5.0] Minor CS Fixes, And Micro-Optimizations

In foreach loops, php will actually evaluate what we're iterating over for every iteration. Because of this, we should not be casting inside the foreach loop.