Skip to content

Commit

Permalink
fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic34 committed Sep 30, 2024
1 parent 88939be commit 40580db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/api/class/api_documents.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ public function getDocumentsListByElement($modulepart, $id = 0, $ref = '', $sort
$count = count($filearray);
for ($i = 0 ; $i < $count ; $i++) {
foreach ($ecmfile->lines as $line) {
/** @var EcmFiles $line */
/** @var EcmFilesLine $line */
if ($filearray[$i]['name'] == $line->filename) {
$filearray[$i] = array_merge($filearray[$i], (array) $line);
}
Expand Down

0 comments on commit 40580db

Please sign in to comment.