Skip to content

Commit

Permalink
MongoDB BSON classes implementing ArrayAccess
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN authored and isfedorov committed May 29, 2024
1 parent 5d05b72 commit 82dc7ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mongodb/BSON/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @since 1.16.0
* @link https://secure.php.net/manual/en/class.mongodb-bson-document.php
*/
final class Document implements \IteratorAggregate, \Serializable
final class Document implements \ArrayAccess, \IteratorAggregate, \Serializable
{
private function __construct() {}

Expand Down
2 changes: 1 addition & 1 deletion mongodb/BSON/PackedArray.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @since 1.16.0
* @link https://secure.php.net/manual/en/class.mongodb-bson-packedarray.php
*/
final class PackedArray implements \IteratorAggregate, \Serializable
final class PackedArray implements \ArrayAccess, \IteratorAggregate, \Serializable
{
private function __construct() {}

Expand Down

0 comments on commit 82dc7ae

Please sign in to comment.