Completed
Push — final ( 35256a...c76c93 )
by Georges
04:15 queued 01:33
created
src/phpFastCache/Drivers/Predis/Driver.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -128,10 +128,10 @@  discard block
 block discarded – undo
128 128
         $config = isset($this->config[ 'predis' ]) ? $this->config[ 'predis' ] : [];
129 129
 
130 130
         $this->instance = new PredisClient(array_merge([
131
-          'host' => '127.0.0.1',
132
-          'port' => 6379,
133
-          'password' => null,
134
-          'database' => null,
131
+            'host' => '127.0.0.1',
132
+            'port' => 6379,
133
+            'password' => null,
134
+            'database' => null,
135 135
         ], $config));
136 136
 
137 137
         try{
@@ -174,9 +174,9 @@  discard block
 block discarded – undo
174 174
         $date = (isset($info['Server'][ 'uptime_in_seconds' ]) ? (new \DateTime())->setTimestamp(time() - $info['Server'][ 'uptime_in_seconds' ]) : 'unknown date');
175 175
 
176 176
         return (new DriverStatistic())
177
-          ->setData(implode(', ', array_keys($this->itemInstances)))
178
-          ->setRawData($info)
179
-          ->setSize($size)
180
-          ->setInfo(sprintf("The Redis daemon v%s is up since %s.\n For more information see RawData. \n Driver size includes the memory allocation size.", $version, $date->format(DATE_RFC2822)));
177
+            ->setData(implode(', ', array_keys($this->itemInstances)))
178
+            ->setRawData($info)
179
+            ->setSize($size)
180
+            ->setInfo(sprintf("The Redis daemon v%s is up since %s.\n For more information see RawData. \n Driver size includes the memory allocation size.", $version, $date->format(DATE_RFC2822)));
181 181
     }
182 182
 }
183 183
\ No newline at end of file
Please login to merge, or discard this patch.