File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -368,17 +368,17 @@ protected function getStoreConfig($path)
368368
369369 protected function getKey ()
370370 {
371- return trim ($ this ->getStoreConfig ('postcodenl_api/general/api_key ' ));
371+ return trim ($ this ->getStoreConfig ('postcodenl_api/general/api_key ' ) ?? '' );
372372 }
373373
374374 protected function getSecret ()
375375 {
376- return trim ($ this ->getStoreConfig ('postcodenl_api/general/api_secret ' ));
376+ return trim ($ this ->getStoreConfig ('postcodenl_api/general/api_secret ' ) ?? '' );
377377 }
378378
379379 protected function getServiceUrl ()
380380 {
381- $ serviceUrl = trim ($ this ->getStoreConfig ('postcodenl_api/development_config/api_url ' ));
381+ $ serviceUrl = trim ($ this ->getStoreConfig ('postcodenl_api/development_config/api_url ' ) ?? '' );
382382 if (empty ($ serviceUrl )) {
383383 $ serviceUrl = self ::API_URL ;
384384 }
You can’t perform that action at this time.
0 commit comments