Skip to content

Commit 7e9e8b1

Browse files
committed
OS-245 Formatting
1 parent 882f54c commit 7e9e8b1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/Plugin/os2web/DataLookup/DatafordelerCVR.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ public function lookup(string $param): CompanyLookupResult {
163163
*
164164
* @return \Psr\Http\Message\ResponseInterface
165165
* The raw HTTP response from the GraphQL endpoint.
166-
* @throws GuzzleException
166+
*
167+
* @throws \GuzzleHttp\Exception\GuzzleException
167168
*/
168169
private function executeQuery($cvr): ResponseInterface {
169170
$this->httpClient = new Client();
@@ -175,7 +176,7 @@ private function executeQuery($cvr): ResponseInterface {
175176
id_CVR_CVREnhed_id_ref(first: 1) {
176177
nodes {
177178
id_CVR_Navn_CVREnhedsId_ref { vaerdi }
178-
id_CVR_Adressering_CVREnhedsId_ref(first: 2, where: { AdresseringAnvendelse: { in: ["beliggenhedsadresse", "postadresse"] } }) {
179+
id_CVR_Adressering_CVREnhedsId_ref(first: 1, where: { AdresseringAnvendelse: { in: ["beliggenhedsadresse", "postadresse"] } }) {
179180
nodes {
180181
AdresseringAnvendelse
181182
CVRAdresse_vejnavn

0 commit comments

Comments
 (0)