From e5f05841dce92972bef15b7a1146eff06d5efa1b Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Wed, 4 Sep 2024 09:39:18 +0200 Subject: [PATCH] Remove deprecation comment from CursorId stub --- src/MongoDB/CursorId.stub.php | 1 - src/MongoDB/CursorId_arginfo.h | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/MongoDB/CursorId.stub.php b/src/MongoDB/CursorId.stub.php index a9360fb81..d283f6958 100644 --- a/src/MongoDB/CursorId.stub.php +++ b/src/MongoDB/CursorId.stub.php @@ -7,7 +7,6 @@ namespace MongoDB\Driver; -/** @deprecated deprecated without replacement */ final class CursorId implements \Serializable { final private function __construct() {} diff --git a/src/MongoDB/CursorId_arginfo.h b/src/MongoDB/CursorId_arginfo.h index a893b1ef0..f6d0b8e9a 100644 --- a/src/MongoDB/CursorId_arginfo.h +++ b/src/MongoDB/CursorId_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 857b13ac89a77f86aaac34eedba8ac836d0ca526 */ + * Stub hash: 7f5bb1818756794e7ac1d2fe75f1a0f3d8d710a1 */ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_MongoDB_Driver_CursorId___construct, 0, 0, 0) ZEND_END_ARG_INFO() @@ -69,7 +69,7 @@ static zend_class_entry *register_class_MongoDB_Driver_CursorId(zend_class_entry INIT_NS_CLASS_ENTRY(ce, "MongoDB\\Driver", "CursorId", class_MongoDB_Driver_CursorId_methods); class_entry = zend_register_internal_class_ex(&ce, NULL); - class_entry->ce_flags |= ZEND_ACC_FINAL|ZEND_ACC_DEPRECATED; + class_entry->ce_flags |= ZEND_ACC_FINAL; zend_class_implements(class_entry, 1, class_entry_Serializable); return class_entry;