ArrayAccess interface missing in PHPStorm stub

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • PHP Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      In PHPStorm stubs, the interfaces implemented by BSON\Document and BSON\PackedArray are incomplete. ArrayAccess and BSON\Type are missing.

      The interface ArrayAccess is also missing in the doc

      PHPC: https://github.com/mongodb/mongo-php-driver/blame/master/src/BSON/Document.stub.php

      PHPStorm: https://github.com/JetBrains/phpstorm-stubs/blob/master/mongodb/BSON/Document.php#L9 

      PHPdoc: https://www.php.net/manual/en/class.mongodb-bson-document.php 

            Assignee:
            Jérôme Tamarelle
            Reporter:
            Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: