Completed
Push — V6 ( 1287ab...6b6517 )
by Georges
02:34
created
src/phpFastCache/Drivers/Couchdb/Driver.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -175,9 +175,9 @@  discard block
 block discarded – undo
175 175
             $url .= $path;
176 176
 
177 177
             $this->instance = CouchDBClient::create([
178
-              'dbname' => $this->getDatabaseName(),
179
-              'url' => $url,
180
-              'timeout' => $timeout
178
+                'dbname' => $this->getDatabaseName(),
179
+                'url' => $url,
180
+                'timeout' => $timeout
181 181
             ]);
182 182
 
183 183
             $this->createDatabase();
@@ -194,10 +194,10 @@  discard block
 block discarded – undo
194 194
         $path = '/' . $this->getDatabaseName() . '/' . urlencode($docId);
195 195
 
196 196
         $response = $this->instance->getHttpClient()->request(
197
-          'HEAD',
198
-          $path,
199
-          null,
200
-          false
197
+            'HEAD',
198
+            $path,
199
+            null,
200
+            false
201 201
         );
202 202
         if(!empty($response->headers['etag'])){
203 203
             return trim($response->headers['etag'], " '\"\t\n\r\0\x0B");
@@ -251,9 +251,9 @@  discard block
 block discarded – undo
251 251
         $info = $this->instance->getDatabaseInfo();
252 252
 
253 253
         return (new DriverStatistic())
254
-          ->setSize($info['sizes']['active'])
255
-          ->setRawData($info)
256
-          ->setData(implode(', ', array_keys($this->itemInstances)))
257
-          ->setInfo('Couchdb version ' . $this->instance->getVersion() . "\n For more information see RawData.");
254
+            ->setSize($info['sizes']['active'])
255
+            ->setRawData($info)
256
+            ->setData(implode(', ', array_keys($this->itemInstances)))
257
+            ->setInfo('Couchdb version ' . $this->instance->getVersion() . "\n For more information see RawData.");
258 258
     }
259 259
 }
260 260
\ No newline at end of file
Please login to merge, or discard this patch.