N°8755 - Remove unused Symfony features for iTop 3.3

This commit is contained in:
Benjamin Dalsass
2025-10-13 08:24:20 +02:00
committed by GitHub
parent 5dd450e9bf
commit 5bc453bca6
73 changed files with 65 additions and 2780 deletions

View File

@@ -298,7 +298,7 @@ class Data implements \ArrayAccess, \Countable, \IteratorAggregate, \Stringable
if (!$item instanceof Stub) {
$cursor->attr = [];
$type = \gettype($item);
if ($item && 'array' === $type) {
if ('array' === $type && $item) {
$item = $this->getStub($item);
}
} elseif (Stub::TYPE_REF === $item->type) {