Completed
Push — master ( 6651c1...532e2b )
by Cy
01:46
created
src/RedisSentinelServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     public function register()
56 56
     {
57
-        $this->app->singleton('redis-sentinel', function ($app) {
57
+        $this->app->singleton('redis-sentinel', function($app) {
58 58
             $config = $app->make('config')->get('database.redis-sentinel');
59 59
 
60 60
             return new RedisSentinelDatabase($config);
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         // instance of the RedisSentinelDatabase when requesting the "redis"
65 65
         // service:
66 66
         if ($this->shouldOverrideLaravelApi()) {
67
-            $this->app->singleton('redis', function ($app) {
67
+            $this->app->singleton('redis', function($app) {
68 68
                 return $app->make('redis-sentinel');
69 69
             });
70 70
         }
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      */
81 81
     protected function addRedisSentinelCacheDriver(CacheManager $cache)
82 82
     {
83
-        $cache->extend('redis-sentinel', function ($app, $conf) use ($cache) {
83
+        $cache->extend('redis-sentinel', function($app, $conf) use ($cache) {
84 84
             $redis = $app['redis-sentinel'];
85 85
             $prefix = $app->make('config')->get('cache.prefix');
86 86
             $connection = Arr::get($conf, 'connection', 'default');
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      */
101 101
     protected function addRedisSentinelSessionHandler(SessionManager $session)
102 102
     {
103
-        $session->extend('redis-sentinel', function ($app) {
103
+        $session->extend('redis-sentinel', function($app) {
104 104
             $config = $app->make('config');
105 105
 
106 106
             $cacheDriver = clone $app->make('cache')->driver('redis-sentinel');
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     {
126 126
         $app = $this->app;
127 127
 
128
-        $queue->extend('redis-sentinel', function () use ($app) {
128
+        $queue->extend('redis-sentinel', function() use ($app) {
129 129
             return new RedisConnector($app->make('redis-sentinel'));
130 130
         });
131 131
     }
Please login to merge, or discard this patch.