mirror of
https://github.com/danog/dns.git
synced 2024-11-26 20:14:51 +01:00
Improve README code formatting
This commit is contained in:
parent
ccd9c87aeb
commit
d5e05e6c9b
@ -47,7 +47,9 @@ Amp\run(function() {
|
||||
list($errors, $successes) = (yield $comboPromise);
|
||||
|
||||
foreach ($names as $name) {
|
||||
echo isset($errors[$name]) ? "FAILED: {$name}\n" : "{$name} => {$successes[$name][0]}\n";
|
||||
echo isset($errors[$name])
|
||||
? "FAILED: {$name}\n"
|
||||
: "{$name} => {$successes[$name][0]}\n";
|
||||
}
|
||||
|
||||
// Stop the event loop so we don't sit around forever
|
||||
|
Loading…
Reference in New Issue
Block a user