Skip to content

Commit 04cd180

Browse files
committed
Fix from/toJSON() protos
1 parent 194bbbd commit 04cd180

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bson.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ PHP_FUNCTION(toPHP)
10551055
}
10561056
/* }}} */
10571057

1058-
/* {{{ proto BSON\toJSON BSON\toJSON(string data)
1058+
/* {{{ proto string BSON\toJSON(string $bson)
10591059
Returns the JSON representation of a BSON value */
10601060
PHP_FUNCTION(toJSON)
10611061
{
@@ -1086,7 +1086,7 @@ PHP_FUNCTION(toJSON)
10861086
}
10871087
/* }}} */
10881088

1089-
/* {{{ proto string BSON\fromJSON(string data)
1089+
/* {{{ proto string BSON\fromJSON(string $json)
10901090
Returns the BSON representation of a JSON value */
10911091
PHP_FUNCTION(fromJSON)
10921092
{

0 commit comments

Comments
 (0)