Burgov / KeyValueFormBundle

A form type for managing key-value pairs
MIT License
44 stars 32 forks source link

7.4 deprecation removal on array_key_exists #39

Open Kalyse opened 3 years ago

Kalyse commented 3 years ago

(Second attempt, reliased I didn't even look at last PR)

Anyway, quite straightforward,

Currently the $return is set based on

$return = $this->useContainerObject ? new KeyValueContainer() : array();

This is being changed to use isset due to php 7.4 deprecation on objects when using array_key_exists