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:
parent
882fcad930
commit
05e0d23ec0
@ -41,7 +41,7 @@ class HostLoader
|
||||
return new Success($fileContent);
|
||||
}
|
||||
|
||||
final public function loadHosts(): Promise
|
||||
public function loadHosts(): Promise
|
||||
{
|
||||
return call(function () {
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user