diff --git a/src/Illuminate/Cache/CacheManager.php b/src/Illuminate/Cache/CacheManager.php index a9dcb2b1fa2b..f0f0b392e9ae 100755 --- a/src/Illuminate/Cache/CacheManager.php +++ b/src/Illuminate/Cache/CacheManager.php @@ -286,7 +286,7 @@ protected function newDynamodbClient(array $config) * @param array $config * @return \Illuminate\Cache\Repository */ - public function repository(Store $store, array $config) + public function repository(Store $store, array $config = []) { return tap(new Repository($store, Arr::only($config, ['store'])), function ($repository) { $this->setEventDispatcher($repository);