[4.2] Cache : Checks the number of minutes (int) is > 0

Solves https://github.com/laravel/framework/issues/5806