1
0
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:
Daniel Lowrey 2014-09-24 00:06:42 -04:00
parent ccd9c87aeb
commit d5e05e6c9b

View File

@ -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