laravel/framework — pull request #4339 by visualasparagus (2014-05-04 19:29:49+00:00)
Title: [Issue 4315] updated limit to accept 0 or greater values

limit(0) return all rows which isn't intuitive. limit($value) method will now accept 0 or greater values. this allows limit(0) to return zero rows. negative values are still not allowed.

please see: https://github.com/laravel/framework/issues/4315