We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 76290d8 + 187f1a2 commit c4e8b30Copy full SHA for c4e8b30
src/Picqer/Financials/Moneybird/Model.php
@@ -224,10 +224,10 @@ private function getArrayWithNestedObjects($useAttributesAppend = true)
224
$result[$attributeNameToUse] = [];
225
foreach ($attributeValue as $attributeEntity) {
226
$result[$attributeNameToUse][] = $attributeEntity->attributes;
227
+ }
228
- if ($multipleNestedEntities[$attributeName]['type'] === self::NESTING_TYPE_NESTED_OBJECTS) {
229
- $result[$attributeNameToUse] = (object) $result[$attributeNameToUse];
230
- }
+ if ($multipleNestedEntities[$attributeName]['type'] === self::NESTING_TYPE_NESTED_OBJECTS) {
+ $result[$attributeNameToUse] = (object) $result[$attributeNameToUse];
231
}
232
233
if (
0 commit comments