@@ -281,8 +281,8 @@ public function getFragment()
281281 * An empty scheme is equivalent to removing the scheme.
282282 *
283283 * @param string $scheme the scheme to use with the new instance
284- * @throws \InvalidArgumentException for invalid or unsupported schemes
285284 * @return static a new instance with the specified scheme
285+ * @throws \InvalidArgumentException for invalid or unsupported schemes
286286 */
287287 public function withScheme ($ scheme )
288288 {
@@ -332,8 +332,8 @@ public function withUserInfo($user, $password = null)
332332 * An empty host value is equivalent to removing the host.
333333 *
334334 * @param string $host the hostname to use with the new instance
335- * @throws \InvalidArgumentException for invalid hostnames
336335 * @return static a new instance with the specified host
336+ * @throws \InvalidArgumentException for invalid hostnames
337337 */
338338 public function withHost ($ host )
339339 {
@@ -358,8 +358,8 @@ public function withHost($host)
358358 *
359359 * @param null|int|string $port the port to use with the new instance; a null value
360360 * removes the port information
361- * @throws \InvalidArgumentException for invalid ports
362361 * @return static a new instance with the specified port
362+ * @throws \InvalidArgumentException for invalid ports
363363 */
364364 public function withPort ($ port )
365365 {
@@ -388,8 +388,8 @@ public function withPort($port)
388388 * Implementations ensure the correct encoding as outlined in getPath().
389389 *
390390 * @param string $path the path to use with the new instance
391- * @throws \InvalidArgumentException for invalid paths
392391 * @return static a new instance with the specified path
392+ * @throws \InvalidArgumentException for invalid paths
393393 */
394394 public function withPath ($ path )
395395 {
@@ -412,8 +412,8 @@ public function withPath($path)
412412 * An empty query string value is equivalent to removing the query string.
413413 *
414414 * @param string $query the query string to use with the new instance
415- * @throws \InvalidArgumentException for invalid query strings
416415 * @return static a new instance with the specified query string
416+ * @throws \InvalidArgumentException for invalid query strings
417417 */
418418 public function withQuery ($ query )
419419 {
0 commit comments