Completed
Pull Request — master (#20)
by Bruno Ricardo
03:20
created
src/CurlRemoteFilesystem.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  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
         return $this->fetch($origin, $fileUrl, $progress, $options, function($ch, $request) use($fileName){
62 62
             $fp = $this->createFile($fileName);
@@ -86,10 +86,10 @@  discard block
 block discarded – undo
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);
Please login to merge, or discard this patch.