Skip to content
Permalink
Browse files

Fix wording.

  • Loading branch information...
markstory committed May 7, 2016
1 parent 2e97ed6 commit 76882b434b9657030bdc3c2d1d637a2ce328b8e9
Showing with 6 additions and 3 deletions.
  1. +6 −3 src/Http/Client/Request.php
@@ -59,7 +59,7 @@ public function __construct()
* Get/Set the HTTP method.
*
* *Warning* This method mutates the request in-place for backwards
* compatibility issues, and is not part of the PSR7 interface.
* compatibility reasons, and is not part of the PSR7 interface.
*
* @param string|null $method The method for the request.
* @return $this|string Either this or the current method.
@@ -82,6 +82,9 @@ public function method($method = null)
/**
* Get/Set the url for the request.
*
* *Warning* This method mutates the request in-place for backwards
* compatibility reasons, and is not part of the PSR7 interface.
*
* @param string|null $url The url for the request. Leave null for get
* @return $this|string Either $this or the url value.
* @deprecated 3.3.0 Use getUri() and withUri() instead.
@@ -120,7 +123,7 @@ public function url($url = null)
* ```
*
* *Warning* This method mutates the request in-place for backwards
* compatibility issues, and is not part of the PSR7 interface.
* compatibility reasons, and is not part of the PSR7 interface.
*
* @param string|array|null $name The name to get, or array of multiple values to set.
* @param string|null $value The value to set for the header.
@@ -191,7 +194,7 @@ public function cookie($name, $value = null)
* Get/Set HTTP version.
*
* *Warning* This method mutates the request in-place for backwards
* compatibility issues, and is not part of the PSR7 interface.
* compatibility reasons, and is not part of the PSR7 interface.
*
* @param string|null $version The HTTP version.
* @return $this|string Either $this or the HTTP version.

0 comments on commit 76882b4

Please sign in to comment.
You can’t perform that action at this time.