Browse Source

Documentation fix

Jan Oris 8 years ago
parent
commit
23a79c58a6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -266,7 +266,7 @@ For downloading a file, you can use the `download()` method:
 
 ### Debugging requests
 
-In case a request fails, it might be useful to get debug the request. In this case, you can use the `debug()` method.
+In case a request fails, it might be useful to get debug the request. In this case, you can use the `enableDebug()` method.
 This method uses one parameter, which is the name of the file in which the debug information is to be stored:
 
 ```php