Compare commits

..

2 commits
1.8.0 ... main

Author SHA1 Message Date
yggverse
5ae447bcf0 fix absolute address detection 2024-07-11 10:10:13 +03:00
yggverse
b28658d041 update readme 2024-06-25 00:10:36 +03:00
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -83,7 +83,9 @@ class Address
public function isAbsolute(): bool
{
return ($this->_scheme && $this->_host);
return boolval(
$this->_scheme || $this->_host
);
}
public function isRelative(): bool