diff --git a/Uri/Http.php b/Uri/Http.php index d560a3856..0c83752d2 100644 --- a/Uri/Http.php +++ b/Uri/Http.php @@ -193,11 +193,7 @@ class Http implements UriInterface } /** - * Get root path. - * - * @return string - * - * @since 1.0.0 + * {@inheritdoc} */ public function getRootPath() : string { @@ -238,11 +234,7 @@ class Http implements UriInterface } /** - * Get password. - * - * @return string - * - * @since 1.0.0 + * {@inheritdoc} */ public function getPass() : string { @@ -349,11 +341,7 @@ class Http implements UriInterface } /** - * Get user. - * - * @return string - * - * @since 1.0.0 + * {@inheritdoc} */ public function getUser() : string { diff --git a/Uri/UriInterface.php b/Uri/UriInterface.php index 4cbd59e4b..ec4cc0b6b 100644 --- a/Uri/UriInterface.php +++ b/Uri/UriInterface.php @@ -92,6 +92,15 @@ interface UriInterface */ public function getPath() : string; + /** + * Get root path. + * + * @return string + * + * @since 1.0.0 + */ + public function getRootPath() : string; + /** * Get path element. *