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

the function stringToLegacy gives already null useless to put a defau… #4338

Merged
merged 1 commit into from
Jul 31, 2021
Merged

the function stringToLegacy gives already null useless to put a defau… #4338

merged 1 commit into from
Jul 31, 2021

Conversation

SenseiTarzan
Copy link
Contributor

**Small change RuntimeBlockMapping **
I changed the RuntimeBlockMapping because there is a useless thing at line 90 because stringToLegacy returns an int or a null

$id = $legacyIdMap->stringToLegacy($pair->getId()) ?? null; to $id = $legacyIdMap->stringToLegacy($pair->getId());

@dktapps
Copy link
Member

dktapps commented Jul 31, 2021

Thanks. This looks like leftover code from the days when it was handling raw arrays.

@dktapps dktapps merged commit 1bbf739 into pmmp:master Jul 31, 2021
@SenseiTarzan SenseiTarzan deleted the master branch July 31, 2021 15:59
@SenseiTarzan SenseiTarzan restored the master branch July 31, 2021 15:59
@dktapps dktapps added this to the 4.0 milestone Sep 9, 2021
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.

2 participants