From c45661a2b5f3e386864394b83e9d5e6324d74522 Mon Sep 17 00:00:00 2001 From: jekuaitk Date: Mon, 28 Oct 2024 14:36:42 +0100 Subject: [PATCH] Update methods to align with os2web_datalookup --- .../src/Plugin/os2web/DataLookup/DatafordelerDataLookup.php | 2 +- .../src/Plugin/os2web/DataLookup/DawaDataLookup.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/os2forms_dawa/src/Plugin/os2web/DataLookup/DatafordelerDataLookup.php b/modules/os2forms_dawa/src/Plugin/os2web/DataLookup/DatafordelerDataLookup.php index 2083fb1a..ae5ba41d 100644 --- a/modules/os2forms_dawa/src/Plugin/os2web/DataLookup/DatafordelerDataLookup.php +++ b/modules/os2forms_dawa/src/Plugin/os2web/DataLookup/DatafordelerDataLookup.php @@ -102,7 +102,7 @@ public function getMatrikulaEntries(string $matrikulaId) : array { /** * {@inheritdoc} */ - public function defaultConfiguration() { + public function defaultConfiguration(): array { return [ 'username' => '', 'password' => '', diff --git a/modules/os2forms_dawa/src/Plugin/os2web/DataLookup/DawaDataLookup.php b/modules/os2forms_dawa/src/Plugin/os2web/DataLookup/DawaDataLookup.php index 871ed6a3..7e90eb79 100644 --- a/modules/os2forms_dawa/src/Plugin/os2web/DataLookup/DawaDataLookup.php +++ b/modules/os2forms_dawa/src/Plugin/os2web/DataLookup/DawaDataLookup.php @@ -46,7 +46,7 @@ public function getMatrikulaAutocompletePath() { /** * {@inheritdoc} */ - public function defaultConfiguration() { + public function defaultConfiguration(): array { return [ 'address_autocomplete_path' => 'https://dawa.aws.dk/adresser/autocomplete', 'address_api_path' => 'https://dawa.aws.dk/adresser',