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

The constructors of value objects that represent internal structures should be private

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.4.0
    • Affects Version/s: None
    • Component/s: None
    • None

      As discussed in our last meeting, the constructors of the following classes should be marked as private (and the classes as final):

      • MongoDB/Driver/CursorID
      • MongoDB/Driver/Cursor
      • MongoDB/Driver/Server (already done, but also has a ctor implementation)
      • MongoDB/Driver/WriteConcernError (currently has no ctor at all)
      • MongoDB/Driver/WriteError (currently has no ctor at all)
      • MongoDB/Driver/WriteResult (currently has no ctor at all)

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            derick Derick Rethans
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: