diff --git a/src/Traits/Soap/SoapImportApis.php b/src/Traits/Soap/SoapImportApis.php index 95f2d45..1b2e4f8 100644 --- a/src/Traits/Soap/SoapImportApis.php +++ b/src/Traits/Soap/SoapImportApis.php @@ -62,7 +62,7 @@ public function importVApp(string $resourcePoolId, $entityConfig, $instantiation $extraConfig = []; if (isset($configSpec->extraConfig)) { // sometimes there is only one level of nesting - if (property_exists($configSpec->extraConfig, 'key')) { + if (!array($configSpec->extraConfig) && property_exists($configSpec->extraConfig, 'key')) { $extraConfig['key'] = $configSpec->extraConfig->key; $extraConfig['value:string'] = $configSpec->extraConfig->value->_value ?? ''; // but sometimes there are several