We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8eb5d4e commit 0681cd5Copy full SHA for 0681cd5
src/IntegrationFieldCollection.php
@@ -17,6 +17,6 @@ public function toArray()
17
{
18
return array_map(function (ModelToIntegrationField $model) {
19
return $model->toIntegrationField()->toArray();
20
- }, $this->sortByDesc('updated_at')->items);
+ }, array_values($this->sortByDesc('updated_at')->items));
21
}
22
0 commit comments