1
0
mirror of https://github.com/danog/dns.git synced 2025-01-22 13:31:12 +01:00

Revert making HostLoader::loadHosts() final

This method serves as an extension point not covered by an interface, so shouldn't be final.
This commit is contained in:
Niklas Keller 2019-03-13 17:25:25 +01:00
parent 882fcad930
commit 05e0d23ec0

View File

@ -41,7 +41,7 @@ class HostLoader
return new Success($fileContent);
}
final public function loadHosts(): Promise
public function loadHosts(): Promise
{
return call(function () {
try {