We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 194bbbd commit 04cd180Copy full SHA for 04cd180
src/bson.c
@@ -1055,7 +1055,7 @@ PHP_FUNCTION(toPHP)
1055
}
1056
/* }}} */
1057
1058
-/* {{{ proto BSON\toJSON BSON\toJSON(string data)
+/* {{{ proto string BSON\toJSON(string $bson)
1059
Returns the JSON representation of a BSON value */
1060
PHP_FUNCTION(toJSON)
1061
{
@@ -1086,7 +1086,7 @@ PHP_FUNCTION(toJSON)
1086
1087
1088
1089
-/* {{{ proto string BSON\fromJSON(string data)
+/* {{{ proto string BSON\fromJSON(string $json)
1090
Returns the BSON representation of a JSON value */
1091
PHP_FUNCTION(fromJSON)
1092
0 commit comments