Fixed phpstan issue

This commit is contained in:
Jan Böhmer 2025-08-13 15:34:12 +02:00
parent 1e9a2e5382
commit 475cfe60f9

View file

@ -157,7 +157,10 @@ class EntityImporter
}
}
$last_element = $entity;
$last_element = end($entities);
if ($last_element === false) {
$last_element = null;
}
}
//Only return objects once