Skip to content

Commit 4b25ab8

Browse files
committed
Fixes in \Safe and versioning
1 parent 9bae91e commit 4b25ab8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Installation/Mapping/stuf.haalCentraalToLa01.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"title": "haalCentraalToLa01",
33
"$id": "https://commongateway.nl/mapping/stuf.haalCentraalToLa01.mapping.json",
44
"$schema": "https://docs.commongateway.nl/schemas/Mapping.schema.json",
5-
"version": "0.0.4",
5+
"version": "0.0.5",
66
"passTrough": false,
77
"mapping": {
88
"@xmlns": "http://www.egem.nl/StUF/sector/bg/0310",

src/Service/HaalCentraalToStufBGService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function getAllRelatives(Source $source, array $ingeschrevenPersoon): ?ar
123123
foreach ($ingeschrevenPersoon['_embedded'][$type] as $link) {
124124
if (isset($link['_links']['ingeschrevenPersoon']) === true) {
125125
// Remove domain etc from link so we have a endpoint.
126-
$endpoint = \Safe\parse_url($link['_links']['ingeschrevenPersoon']['href'], PHP_URL_PATH);
126+
$endpoint = parse_url($link['_links']['ingeschrevenPersoon']['href'], PHP_URL_PATH);
127127
$bsn = ltrim(explode('/haal-centraal-brp-bevragen/api/v1.3/ingeschrevenpersonen', $endpoint)[1], '/');
128128
$bsns[] = $bsn;
129129
}

0 commit comments

Comments
 (0)