| @@ -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,10 +86,10 @@ 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 | -        return $this->fetch($origin, $fileUrl, $progress, $options, function($ch, $request, &$obj){ | |
| 92 | +        return $this->fetch($origin, $fileUrl, $progress, $options, function($ch, $request, &$obj) { | |
| 93 | 93 | // This order is important. | 
| 94 | 94 | curl_setopt($ch, CURLOPT_FILE, STDOUT); | 
| 95 | 95 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); |