Skip to content

Commit fe6bba1

Browse files
committed
Clarify removal requirement for return type checks
1 parent f55e43b commit fe6bba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/phongo_bson_encode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ static int php_phongo_is_array_or_document(zval* val)
9393
/* Checks the return type of a bsonSerialize() method. Returns true on
9494
* success; otherwise, throws an exception and returns false.
9595
*
96-
* TODO: obsolete once PHP 8.0+ is required and tentative return type is enforced.
96+
* TODO: obsolete once the tentative return type in Serializable::bsonSerialize is enforced.
9797
*/
9898
static inline bool phongo_check_bson_serialize_return_type(zval* retval, zend_class_entry* ce)
9999
{

0 commit comments

Comments
 (0)