diff --git a/README.md b/README.md index 34b9e0c..6703ebb 100644 --- a/README.md +++ b/README.md @@ -227,7 +227,7 @@ Network entities validation ## Integrations -* [gemini-dl](https://github.com/YGGverse/gemini-dl) - CLI batch downloader for Gemini protocol * [web-api](https://github.com/YGGverse/web-api) - Network API with native Yggdrasil/IPv6 support * [Yo!](https://github.com/YGGverse/Yo) - Crawler and search engine for different networks * [Yoda](https://github.com/YGGverse/Yoda) - Experimental PHP-GTK browser for Gemini protocol +* [gemini-dl](https://github.com/YGGverse/gemini-dl) - CLI downloader for Gemini protocol diff --git a/src/Address.php b/src/Address.php index 41d19c6..d82756a 100644 --- a/src/Address.php +++ b/src/Address.php @@ -83,9 +83,7 @@ class Address public function isAbsolute(): bool { - return boolval( - $this->_scheme || $this->_host - ); + return ($this->_scheme && $this->_host); } public function isRelative(): bool