laravel/framework — pull request #3190 by adityamenon (2014-01-11 00:00:16+00:00)
Title: Bug fix: random() method was in fact returning first n items.

Where n = $amount, and n > 1.

It was intersecting $this->items with the array [0, 1, 2...] instead of the actual keys found by array_rand(). Looks like the solution was insufficiently copied from [here](http://stackoverflow.com/a/4240153/443219).