@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | // +---------------------------------------------------------------------- |
9 | 9 | // | Author: yunwuxin <[email protected]> |
10 | 10 | // +---------------------------------------------------------------------- |
11 | -declare (strict_types = 1); |
|
11 | +declare(strict_types=1); |
|
12 | 12 | |
13 | 13 | namespace think\filesystem; |
14 | 14 | |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | public function putFileAs(string $path, File $file, string $name, array $options = []) |
116 | 116 | { |
117 | 117 | $stream = fopen($file->getRealPath(), 'r'); |
118 | - $path = trim($path . '/' . $name, '/'); |
|
118 | + $path = trim($path.'/'.$name, '/'); |
|
119 | 119 | |
120 | 120 | $result = $this->putStream($path, $stream, $options); |
121 | 121 |