Completed
Push — 1.x ( 81f0ab...1d5f69 )
by Cy
01:55
created
src/RedisSentinelServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
         $this->config = ConfigurationLoader::load($this->app);
59 59
 
60 60
         $this->app->singleton('redis-sentinel', function ($app) {
61
-            $config = $app->make('config')->get('database.redis-sentinel', [ ]);
61
+            $config = $app->make('config')->get('database.redis-sentinel', []);
62 62
 
63 63
             return new RedisSentinelDatabase($config);
64 64
         });
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
         // Lumen 5.2 and below don't provide a hook that initializes the
143 143
         // broadcast component when attempting to resolve the BroadcastManager:
144 144
         if ($this->config->isLumen
145
-            && ! array_key_exists($broadcast, $this->app->availableBindings)
145
+            && !array_key_exists($broadcast, $this->app->availableBindings)
146 146
         ) {
147 147
             $provider = 'Illuminate\Broadcasting\BroadcastServiceProvider';
148 148
             $this->app->register($provider);
Please login to merge, or discard this patch.