Previously, $input was always null, and that should have checked
$options['input'] instead. (for && ! $input instanceof ArrayAccess)
Move the assignment to $input above the conditions.
Provide a narrative description of what you are trying to accomplish:
[x] Are you fixing a bug?
[x] Detail how the bug is invoked currently.
[x] Detail the original, incorrect behavior. ArrayAccess was not allowed for SessionArrayStorage and an exception would be thrown
[x] Detail the new, expected behavior. ArrayAccess is now allowed for SessionArrayStorage
[x] Base your feature on the master branch, and submit against that branch.
[x] Add a regression test that demonstrates the bug, and proves the fix.
[ ] Add a CHANGELOG.md entry for the fix.
[ ] Are you creating a new feature?
[ ] Why is the new feature needed? What purpose does it serve?
[ ] How will users use the new feature?
[ ] Base your feature on the develop branch, and submit against that branch.
[ ] Add only one feature per pull request; split multiple features over multiple pull requests
Previously, $input was always null, and that should have checked
$options['input']
instead. (for&& ! $input instanceof ArrayAccess
) Move the assignment to $input above the conditions.Provide a narrative description of what you are trying to accomplish:
[x] Are you fixing a bug?
master
branch, and submit against that branch.CHANGELOG.md
entry for the fix.[ ] Are you creating a new feature?
develop
branch, and submit against that branch.CHANGELOG.md
entry for the new feature.[ ] Is this related to quality assurance?
[ ] Is this related to documentation?