diff --git a/src/Illuminate/Cache/MemcachedStore.php b/src/Illuminate/Cache/MemcachedStore.php index 23291099c795..8dd65f593a64 100755 --- a/src/Illuminate/Cache/MemcachedStore.php +++ b/src/Illuminate/Cache/MemcachedStore.php @@ -182,7 +182,7 @@ public function flush() */ protected function toTimestamp($minutes) { - return $minutes > 0 ? Carbon::now()->timestamp + ((int) $minutes * 60) : 0; + return $minutes > 0 ? Carbon::now()->addMinutes($minutes)->timestamp : 0; } /**