Skip to content
Snippets Groups Projects
Commit e64d172f authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Préservation des indexs e tableau avec L'Axios Extractor

parent a336f8d4
No related branches found
No related tags found
No related merge requests found
Pipeline #27516 passed
CHANGELOG CHANGELOG
========= =========
6.2.3 (05/04/2024)
------------------
- Préservation des indexs e tableau avec L'Axios Extractor
6.2.2 (04/04/2024) 6.2.2 (04/04/2024)
------------------ ------------------
......
...@@ -125,8 +125,8 @@ class AxiosExtractor ...@@ -125,8 +125,8 @@ class AxiosExtractor
protected function extractList($list, array $properties = [], string $path = ''): array protected function extractList($list, array $properties = [], string $path = ''): array
{ {
$result = []; $result = [];
foreach ($list as $sobj) { foreach ($list as $index => $sobj) {
$result[] = $this->extractData($sobj, $properties, $path); $result[$index] = $this->extractData($sobj, $properties, $path);
} }
return $result; return $result;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment