laravel/framework — pull request #5493 by tobz-nz (2014-08-18 21:46:30+00:00)
Title: Fix an error in Collection->random()

Fix an error on random() if called on an empty collection. Returns null instead.