Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7.4 deprecation removal on array_key_exists #39

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Kalyse
Copy link

@Kalyse Kalyse commented Feb 12, 2021

(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

Chris added 2 commits February 12, 2021 11:48
…key_exists inside of HashToKeyValueArrayTransformer.php

array_key_exists is deprecated for use on objects in php 7.4 (preparing for PHP 8).
…key_exists inside of HashToKeyValueArrayTransformer.php

array_key_exists is deprecated for use on objects in php 7.4 (preparing for PHP 8).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant