Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored and actions-user committed Apr 6, 2022
1 parent 6fefa1c commit a233862
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/Handlers/DnsGetRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function __invoke(string $domain, int $flag, string $type): array
} catch (Throwable $exception) {
$error = $exception->getMessage();
}
dd($records);
dd($records);
if ($records === false) {
throw CouldNotFetchDns::dnsGetRecordReturnedWithError($error);
}
Expand Down
2 changes: 0 additions & 2 deletions tests/DnsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@
use Spatie\Dns\Dns;
use Spatie\Dns\Exceptions\CouldNotFetchDns;
use Spatie\Dns\Exceptions\InvalidArgument;
use Spatie\Dns\Handlers\DnsGetRecord;
use Spatie\Dns\Records\A;
use Spatie\Dns\Records\MX;
use Spatie\Dns\Records\NS;
use Spatie\Dns\Records\Record;
use Spatie\Dns\Records\SOA;
use Spatie\Dns\Support\Collection;
use Spatie\Dns\Support\Factory;
use Spatie\Dns\Test\TestClasses\CustomHandler;

class DnsTest extends TestCase
Expand Down

0 comments on commit a233862

Please sign in to comment.