@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | * |
| 57 | 57 | * @return bool true |
| 58 | 58 | */ |
| 59 | - public function copy($origin, $fileUrl, $fileName, $progress=true, $options=array()) |
|
| 59 | + public function copy($origin, $fileUrl, $fileName, $progress = true, $options = array()) |
|
| 60 | 60 | { |
| 61 | 61 | return $this->fetch($origin, $fileUrl, $progress, $options, function($ch, $request) use($fileName){ |
| 62 | 62 | $fp = $this->createFile($fileName); |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | * |
| 87 | 87 | * @return bool|string The content |
| 88 | 88 | */ |
| 89 | - public function getContents($origin, $fileUrl, $progress=true, $options=array()) |
|
| 89 | + public function getContents($origin, $fileUrl, $progress = true, $options = array()) |
|
| 90 | 90 | { |
| 91 | 91 | $obj = $this; |
| 92 | 92 | return $this->fetch($origin, $fileUrl, $progress, $options, function($ch, $request) use (&$obj){ |