Skip to content

Commit

Permalink
add return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Bretterklieber committed Jul 6, 2023
1 parent d3263ae commit ea45ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/Stk/MongoDB/BSONTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class BSONData extends Map implements Persistable
{
use BSON;

public function bsonSerialize()
public function bsonSerialize(): array|object
{
return $this->_bsonSerialize($this->_data);
}
Expand Down

0 comments on commit ea45ccb

Please sign in to comment.