Skip to content

Commit d91c06c

Browse files
committed
chore: ExpandableField is deprecated, use count property from ExpandableFieldCount
1 parent 377c022 commit d91c06c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Api/Controller/Bucket.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ protected function formatObject($oObj)
148148
'label' => $oObj->label,
149149
'max_size' => $sMaxSize,
150150
'max_size_human' => $sMaxSizeHuman,
151-
'object_count' => $oObj->objects,
151+
'object_count' => $oObj->objects->count,
152152
];
153153
}
154154

0 commit comments

Comments
 (0)