From b2781e4b104eca2203c2657ecfcee6489efeba45 Mon Sep 17 00:00:00 2001 From: adriansuter Date: Mon, 20 May 2019 08:37:33 +0200 Subject: [PATCH] Remove `self` typehints --- src/Uri.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Uri.php b/src/Uri.php index 36aaf0a..25b3ded 100644 --- a/src/Uri.php +++ b/src/Uri.php @@ -102,7 +102,7 @@ public function getUserInfo(): string /** * {@inheritdoc} */ - public function withFragment($fragment): self + public function withFragment($fragment) { $uri = $this->uri->withFragment($fragment); return new static($uri); @@ -111,7 +111,7 @@ public function withFragment($fragment): self /** * {@inheritdoc} */ - public function withHost($host): self + public function withHost($host) { $uri = $this->uri->withHost($host); return new static($uri); @@ -120,7 +120,7 @@ public function withHost($host): self /** * {@inheritdoc} */ - public function withPath($path): self + public function withPath($path) { $uri = $this->uri->withPath($path); return new static($uri); @@ -129,7 +129,7 @@ public function withPath($path): self /** * {@inheritdoc} */ - public function withPort($port): self + public function withPort($port) { $uri = $this->uri->withPort($port); return new static($uri); @@ -138,7 +138,7 @@ public function withPort($port): self /** * {@inheritdoc} */ - public function withQuery($query): self + public function withQuery($query) { $uri = $this->uri->withQuery($query); return new static($uri); @@ -147,7 +147,7 @@ public function withQuery($query): self /** * {@inheritdoc} */ - public function withScheme($scheme): self + public function withScheme($scheme) { $uri = $this->uri->withScheme($scheme); return new static($uri); @@ -156,7 +156,7 @@ public function withScheme($scheme): self /** * {@inheritdoc} */ - public function withUserInfo($user, $password = null): self + public function withUserInfo($user, $password = null) { $uri = $this->uri->withUserInfo($user, $password); return new static($uri);