Create psalm stubs for new BSON classes

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The new BSON classes added in 1.16 aren't yet understood by psalm. The following classes need to be documented for psalm:

      • MongoDB\BSON\Document
      • MongoDB\BSON\Iterator
      • MongoDB\BSON\PackedArray

      To better handle the return type of methods accepting a $typeMap argument, consider creating stub classes instead of adding the methods to the class map (as was done in previous instances).

            Assignee:
            Unassigned
            Reporter:
            Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: