Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-2328

Wrong parameter names for BSON classes implementing ArrayAccess

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.17.1
    • Affects Version/s: 1.17.0
    • Component/s: None
    • None

      The ArrayAccess interface uses $offset as a parameter name in its methods, but the Document and PackedArray uses $key. This should be changed in the interest of keeping parameter names consistent.

            Assignee:
            andreas.braun@mongodb.com Andreas Braun
            Reporter:
            andreas.braun@mongodb.com Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: