Fix static analysis error

Error message:
    ERROR: MethodSignatureMustProvideReturnType -
    ../src/Curl/Url.php:18:21 - Method Curl\Url::__toString must have a
    return type signature! (see https://psalm.dev/282) public function
    __toString()
This commit is contained in:
Zach Borboa
2022-12-16 04:43:07 -08:00
parent 3cfe83b222
commit e8fdd2377f
+1 -1
View File
@@ -15,7 +15,7 @@ class Url
$this->relativeUrl = $relative_url;
}
public function __toString()
public function __toString() : string
{
return $this->absolutizeUrl();
}