laravel/laravel — Issue #292: Cache remember returns closure on first request
Author: javiervd
Created: 2012-01-31 16:10:36+00:00
State: open

Hey, I was testing `Cache::remember` on the develop branch and noticed that if I did something like:

```php
$numbers = Cache::remember('numbers', function() {
return array(1,2,3,4);
}, 30);
```
The first time, when the variable is not yet on cache, it'll return a closure function instead of the array of numbers, on subsequent request it'd work fine.

Is it me or a bug?