From 1391bac8deb9cdda7c3d52b3a736167d31d7f7d0 Mon Sep 17 00:00:00 2001 From: Tyler Arbon Date: Thu, 12 Jul 2018 12:05:34 -0600 Subject: [PATCH] Update Repository.php ```sh > php artisan clear-compiled In Repository.php line 9: Declaration of PulkitJalan\Cache\Repository::put($key, $value, $minutes) mu st be compatible with Illuminate\Cache\Repository::put($key, $value, $minut es = NULL) ``` --- src/Repository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Repository.php b/src/Repository.php index ed5cc97..d468791 100644 --- a/src/Repository.php +++ b/src/Repository.php @@ -126,7 +126,7 @@ public function pullMany(array $keys, $default = null) * @param \DateTime|int $minutes * @return void */ - public function put($key, $value, $minutes) + public function put($key, $value, $minutes = null) { if (is_array($key) && is_array($value)) { $this->putMany(array_combine($key, $value), $minutes);