Skip to content

Commit edb3662

Browse files
Add utility functions to RdapResponseException
1 parent aca347f commit edb3662

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Exceptions/RdapResponseException.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
<?php
2-
32
declare(strict_types=1);
43

54
namespace ArrayAccess\RdapClient\Exceptions;
65

76
use RuntimeException;
7+
use function array_filter;
8+
use function implode;
9+
use function is_array;
10+
use function is_string;
811

912
/**
1013
* Thrown when the remote RDAP server returns an error response payload.
@@ -82,4 +85,3 @@ public function getResponse(): array
8285
return $this->response;
8386
}
8487
}
85-

0 commit comments

Comments
 (0)