Passed
Push — v7 ( 701ded...2da68a )
by Georges
01:46
created
lib/Phpfastcache/Drivers/Couchbase/Config.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,9 +36,9 @@
 block discarded – undo
36 36
      * @var array
37 37
      */
38 38
     protected $buckets = [
39
-      [
39
+        [
40 40
         'bucket' => 'default',
41
-      ],
41
+        ],
42 42
     ];
43 43
 
44 44
     /**
Please login to merge, or discard this patch.
lib/Phpfastcache/Drivers/Couchbase/Driver.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -17,11 +17,11 @@  discard block
 block discarded – undo
17 17
 
18 18
 use CouchbaseCluster as CouchbaseClient;
19 19
 use Phpfastcache\Core\Pool\{
20
-  DriverBaseTrait, ExtendedCacheItemPoolInterface
20
+    DriverBaseTrait, ExtendedCacheItemPoolInterface
21 21
 };
22 22
 use Phpfastcache\Entities\DriverStatistic;
23 23
 use Phpfastcache\Exceptions\{
24
-  PhpfastcacheInvalidArgumentException, PhpfastcacheLogicException
24
+    PhpfastcacheInvalidArgumentException, PhpfastcacheLogicException
25 25
 };
26 26
 use Phpfastcache\Util\ArrayObject;
27 27
 use Psr\Cache\CacheItemInterface;
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 
74 74
 
75 75
         $this->instance = new CouchbaseClient(
76
-          'couchbase://' . $clientConfig->getHost() . ($clientConfig->getPort() ? ":{$clientConfig->getPort()}" : '')
76
+            'couchbase://' . $clientConfig->getHost() . ($clientConfig->getPort() ? ":{$clientConfig->getPort()}" : '')
77 77
         );
78 78
 
79 79
         $this->instance->authenticate($authenticator);
@@ -189,10 +189,10 @@  discard block
 block discarded – undo
189 189
         $info = $this->getBucket()->manager()->info();
190 190
 
191 191
         return (new DriverStatistic())
192
-          ->setSize($info[ 'basicStats' ][ 'diskUsed' ])
193
-          ->setRawData($info)
194
-          ->setData(\implode(', ', \array_keys($this->itemInstances)))
195
-          ->setInfo('CouchBase version ' . $info[ 'nodes' ][ 0 ][ 'version' ] . ', Uptime (in days): ' . round($info[ 'nodes' ][ 0 ][ 'uptime' ] / 86400,
196
-              1) . "\n For more information see RawData.");
192
+            ->setSize($info[ 'basicStats' ][ 'diskUsed' ])
193
+            ->setRawData($info)
194
+            ->setData(\implode(', ', \array_keys($this->itemInstances)))
195
+            ->setInfo('CouchBase version ' . $info[ 'nodes' ][ 0 ][ 'version' ] . ', Uptime (in days): ' . round($info[ 'nodes' ][ 0 ][ 'uptime' ] / 86400,
196
+                1) . "\n For more information see RawData.");
197 197
     }
198 198
 }
199 199
\ No newline at end of file
Please login to merge, or discard this patch.