Browse Source

Merge pull request #35 from roman4e/patch-1

Update README.md
Jan Oris 8 years ago
parent
commit
08fddc2725
1 changed files with 2 additions and 2 deletions
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -271,7 +271,7 @@ This method uses one parameter, which is the name of the file in which the debug
 
 
     // Send a GET request to http://www.foo.com/bar and log debug information in /path/to/dir/logFile.txt
     // Send a GET request to http://www.foo.com/bar and log debug information in /path/to/dir/logFile.txt
     $response = Curl::to('http://www.foo.com/bar')
     $response = Curl::to('http://www.foo.com/bar')
-        ->enableDebug('/path/to/dir/logFile.txt');
+        ->enableDebug('/path/to/dir/logFile.txt')
         ->get();
         ->get();
 
 
 ```
 ```
@@ -288,7 +288,7 @@ well as the response content:
 
 
     // Send a GET request to http://www.foo.com/bar and return a response object with additional information
     // Send a GET request to http://www.foo.com/bar and return a response object with additional information
     $response = Curl::to('http://www.foo.com/bar')
     $response = Curl::to('http://www.foo.com/bar')
-        ->returnResponseObject();
+        ->returnResponseObject()
         ->get();
         ->get();
             
             
     $content = $response->content;
     $content = $response->content;