Completed
Push — master ( 4a98e7...f8e11a )
by Kamil
05:26 queued 04:07
created
src/Cache/RedisCache.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
      */
319 319
     protected function createConfig($config = [])
320 320
     {
321
-        return array_merge([ 'endpoint' => 'redis://127.0.0.1:6379' ], $config);
321
+        return array_merge(['endpoint' => 'redis://127.0.0.1:6379'], $config);
322 322
     }
323 323
 
324 324
     /**
@@ -352,13 +352,13 @@  discard block
 block discarded – undo
352 352
     private function attachEvents()
353 353
     {
354 354
         $this->redis->on('start', function($redis) {
355
-            $this->emit('start', [ $this ]);
355
+            $this->emit('start', [$this]);
356 356
         });
357 357
         $this->redis->on('stop', function($redis) {
358
-            $this->emit('stop', [ $this ]);
358
+            $this->emit('stop', [$this]);
359 359
         });
360 360
         $this->redis->on('error', function($redis, $ex) {
361
-            $this->emit('error', [ $this, $ex ]);
361
+            $this->emit('error', [$this, $ex]);
362 362
         });
363 363
     }
364 364
 }
Please login to merge, or discard this patch.