mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Fix WeakReference::create() stub
This commit is contained in:
parent
925909dc46
commit
6d96f0f9ce
2 changed files with 4 additions and 3 deletions
|
@ -6,7 +6,7 @@ final class WeakReference
|
|||
{
|
||||
public function __construct() {}
|
||||
|
||||
public static function create(): WeakReference {}
|
||||
public static function create(object $object): WeakReference {}
|
||||
|
||||
public function get(): ?object {}
|
||||
}
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
/* This is a generated file, edit the .stub.php file instead.
|
||||
* Stub hash: 408450a31ebee65311c075810dd36004e49135c3 */
|
||||
* Stub hash: 8a90ffe614346c65d312bc5061fd304056b5640a */
|
||||
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_WeakReference___construct, 0, 0, 0)
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_WeakReference_create, 0, 0, WeakReference, 0)
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_WeakReference_create, 0, 1, WeakReference, 0)
|
||||
ZEND_ARG_TYPE_INFO(0, object, IS_OBJECT, 0)
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_WeakReference_get, 0, 0, IS_OBJECT, 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue