mirror of
https://github.com/danog/dns.git
synced 2024-11-30 04:29:06 +01:00
Readd call import removed by php-cs-fixer
This commit is contained in:
parent
cbac861746
commit
4d8f27d9b5
@ -19,6 +19,7 @@ use LibDNS\Encoder\EncoderFactory;
|
||||
use LibDNS\Messages\MessageFactory;
|
||||
use LibDNS\Messages\MessageTypes;
|
||||
use LibDNS\Records\QuestionFactory;
|
||||
use function Amp\call;
|
||||
|
||||
class DefaultResolver implements Resolver {
|
||||
use CallableMaker;
|
||||
@ -224,7 +225,9 @@ class DefaultResolver implements Resolver {
|
||||
}
|
||||
|
||||
\assert(
|
||||
\array_reduce($types, function ($result, $val) { return $result && \is_int($val); }, true),
|
||||
\array_reduce($types, function ($result, $val) {
|
||||
return $result && \is_int($val);
|
||||
}, true),
|
||||
'The $types passed to DNS functions must all be integers (from \Amp\Dns\Record class)'
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user