Prepping everything for a PHP 8 release

This commit is contained in:
Dave Mc Nicoll committed 2022-10-10 14:26:27 +00:00
1 parent dfb84c104d
commit 0e8443b1c1
5 files changed
+35 -12

No files matched your search

+6
View File
@@ -308,6 +308,12 @@ class EntityCollection extends \ArrayObject {
$this->append( $this->arrayToEntity($value) );
}
else {
foreach ($this as $duplicate) {
if ($duplicate === $value) {
return;
}
}
parent::append($value);
}
}