(NFC) CRM_Utils_Url - Fix declared type
authorTim Otten <totten@civicrm.org>
Thu, 14 May 2020 06:34:27 +0000 (23:34 -0700)
committerTim Otten <totten@civicrm.org>
Thu, 14 May 2020 06:34:27 +0000 (23:34 -0700)
Before
------

References a non-existent type `\GuzzleHttp\Psr7\UriInterface`.

After
-----

References an existent type `\Psr\Http\Message\UriInterface`.

CRM/Utils/Url.php

index 1b73c1dc7e3cef38f4fcfb5530444f36e728949f..51340c3f723159843053f720f4ac01fd27236649 100644 (file)
@@ -19,7 +19,7 @@ class CRM_Utils_Url {
    *
    * @param string $url
    *
-   * @return \GuzzleHttp\Psr7\UriInterface
+   * @return \Psr\Http\Message\UriInterface
    */
   public static function parseUrl($url) {
     return new Uri($url);
@@ -28,7 +28,7 @@ class CRM_Utils_Url {
   /**
    * Unparse url back to a string.
    *
-   * @param \GuzzleHttp\Psr7\UriInterface $parsed
+   * @param \Psr\Http\Message\UriInterface $parsed
    *
    * @return string
    */