Skip to content

Commit 2fa1bfb

Browse files
author
ginnerpeace
committed
Update composer.json & provider register for laravel/lumen 5.1 ~ 5.3
1 parent dd0d3db commit 2fa1bfb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
],
1414
"require": {
1515
"php": "^7.0",
16-
"illuminate/redis": "^5.4",
17-
"illuminate/support": "^5.4",
16+
"illuminate/redis": ">=5.1,<5.4",
17+
"illuminate/support": ">=5.1,<5.4",
1818
"predis/predis": "~1.0"
1919
},
2020
"autoload": {

src/Providers/RedisLockServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function register()
2525
$this->app->singleton(Processor::class, function($app) {
2626
$config = $app['config']['redislock'];
2727
return new Processor(
28-
$app['redis']->connection($config['connection'])->client(),
28+
$app['redis']->connection($config['connection']),
2929
$config
3030
);
3131
});

0 commit comments

Comments
 (0)