Completed
Pull Request — master (#22)
by Hiraku
02:19
created
src/CurlRemoteFilesystem.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,11 +56,11 @@  discard block
 block discarded – undo
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
         $that = $this; // for PHP5.3
62 62
 
63
-        return $this->fetch($origin, $fileUrl, $progress, $options, function ($ch, $request) use ($that, $fileName) {
63
+        return $this->fetch($origin, $fileUrl, $progress, $options, function($ch, $request) use ($that, $fileName) {
64 64
             $fp = $that->createFile($fileName);
65 65
             curl_setopt($ch, CURLOPT_RETURNTRANSFER, false);
66 66
             curl_setopt($ch, CURLOPT_FILE, $fp);
@@ -88,11 +88,11 @@  discard block
 block discarded – undo
88 88
      *
89 89
      * @return bool|string The content
90 90
      */
91
-    public function getContents($origin, $fileUrl, $progress=true, $options=array())
91
+    public function getContents($origin, $fileUrl, $progress = true, $options = array())
92 92
     {
93 93
         $that = $this; // for PHP5.3
94 94
 
95
-        return $this->fetch($origin, $fileUrl, $progress, $options, function ($ch, $request) use ($that) {
95
+        return $this->fetch($origin, $fileUrl, $progress, $options, function($ch, $request) use ($that) {
96 96
             // This order is important.
97 97
             curl_setopt($ch, CURLOPT_FILE, STDOUT);
98 98
             curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
Please login to merge, or discard this patch.