@@ -170,7 +170,7 @@ discard block |
||
| 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 |
||
| 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 | } |