- added some type-hints
- added documentation
This commit is contained in:
Roland Häder
2022-06-23 13:56:18 +02:00
parent 84d3eecc33
commit a49fb9cbf9
8 changed files with 64 additions and 19 deletions

View File

@@ -30,8 +30,10 @@ class UpdateGServer
{
/**
* Update the given server
*
* @param string $server_url Server URL
* @param boolean $only_nodeinfo Only use nodeinfo for server detection
* @return void
*/
public static function execute(string $server_url, bool $only_nodeinfo = false)
{