Skip to content

Commit 07c11f6

Browse files
authored
Merge pull request #47 from compwright/4.x
PHP 8.5 compatibility, part II
2 parents 9b806a8 + b3182fb commit 07c11f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Type/GenericType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ public function getRemovedEntities()
893893
*/
894894
public function getInitialData($entity)
895895
{
896-
if ($this->initial_data->contains($entity)) {
896+
if ($this->initial_data->offsetExists($entity)) {
897897
return $this->initial_data[$entity];
898898
}
899899

0 commit comments

Comments
 (0)