Passed
Pull Request — final (#524)
by Georges
02:22
created
src/phpFastCache/Drivers/Couchbase/Driver.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -141,10 +141,10 @@  discard block
 block discarded – undo
141 141
             $password = isset($this->config[ 'password' ]) ? $this->config[ 'password' ] : '';
142 142
             $username = isset($this->config[ 'username' ]) ? $this->config[ 'username' ] : '';
143 143
             $buckets = isset($this->config[ 'buckets' ]) ? $this->config[ 'buckets' ] : [
144
-              [
144
+                [
145 145
                 'bucket' => 'default',
146 146
                 'password' => '',
147
-              ],
147
+                ],
148 148
             ];
149 149
 
150 150
             $this->instance = new CouchbaseClient("couchbase://{$host}:{$port}", $username, $password);
@@ -194,10 +194,10 @@  discard block
 block discarded – undo
194 194
         $info = $this->getBucket()->manager()->info();
195 195
 
196 196
         return (new DriverStatistic())
197
-          ->setSize($info[ 'basicStats' ][ 'diskUsed' ])
198
-          ->setRawData($info)
199
-          ->setData(implode(', ', array_keys($this->itemInstances)))
200
-          ->setInfo('CouchBase version ' . $info[ 'nodes' ][ 0 ][ 'version' ] . ', Uptime (in days): ' . round($info[ 'nodes' ][ 0 ][ 'uptime' ] / 86400,
201
-              1) . "\n For more information see RawData.");
197
+            ->setSize($info[ 'basicStats' ][ 'diskUsed' ])
198
+            ->setRawData($info)
199
+            ->setData(implode(', ', array_keys($this->itemInstances)))
200
+            ->setInfo('CouchBase version ' . $info[ 'nodes' ][ 0 ][ 'version' ] . ', Uptime (in days): ' . round($info[ 'nodes' ][ 0 ][ 'uptime' ] / 86400,
201
+                1) . "\n For more information see RawData.");
202 202
     }
203 203
 }
204 204
\ No newline at end of file
Please login to merge, or discard this patch.