@@ -50,11 +50,11 @@ discard block |
||
50 | 50 | * @since 7.0.0 |
51 | 51 | */ |
52 | 52 | public function readObject($urn) { |
53 | - return SeekableHttpStream::open(function ($range) use ($urn) { |
|
53 | + return SeekableHttpStream::open(function($range) use ($urn) { |
|
54 | 54 | $command = $this->getConnection()->getCommand('GetObject', [ |
55 | 55 | 'Bucket' => $this->bucket, |
56 | 56 | 'Key' => $urn, |
57 | - 'Range' => 'bytes=' . $range, |
|
57 | + 'Range' => 'bytes='.$range, |
|
58 | 58 | ]); |
59 | 59 | $request = \Aws\serialize($command); |
60 | 60 | $headers = []; |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | */ |
85 | 85 | public function writeObject($urn, $stream, string $mimetype = null) { |
86 | 86 | $count = 0; |
87 | - $countStream = CallbackWrapper::wrap($stream, function ($read) use (&$count) { |
|
87 | + $countStream = CallbackWrapper::wrap($stream, function($read) use (&$count) { |
|
88 | 88 | $count += $read; |
89 | 89 | }); |
90 | 90 |