Completed
Push — master ( 33b021...8d8d40 )
by Nicolas
03:00 queued 45s
created
src/Gaufrette/Adapter/GridFS.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
         if (isset($this->metadata[$key])) {
171 171
             return $this->metadata[$key];
172 172
         } else {
173
-            $meta = $this->bucket->findOne(['filename' => $key], ['projection' => ['metadata' => 1,'_id' => 0]]);
173
+            $meta = $this->bucket->findOne(['filename' => $key], ['projection' => ['metadata' => 1, '_id' => 0]]);
174 174
             if ($meta === null) {
175 175
                 return array();
176 176
             }
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
         if (!$this->exists($key)) {
213 213
             return false;
214 214
         }
215
-        $size = $this->bucket->findOne(['filename' => $key], ['projection' => ['length' => 1,'_id' => 0]]);
215
+        $size = $this->bucket->findOne(['filename' => $key], ['projection' => ['length' => 1, '_id' => 0]]);
216 216
         if (!isset($size['length'])) {
217 217
             return false;
218 218
         }
Please login to merge, or discard this patch.