summaryrefslogtreecommitdiff
path: root/ext/spl/spl_dllist_arginfo.h
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-08-14 17:36:20 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-09-01 16:35:56 +0200
commitf7fbc6333ff9a91ffb2f636790657c927b4e3c55 (patch)
tree0c3ca3db071c9c0052fd43c633279fd0cd9d9127 /ext/spl/spl_dllist_arginfo.h
parent1c56b40a5ce45f598d718cf34e8a265d44f1d9d4 (diff)
downloadphp-git-f7fbc6333ff9a91ffb2f636790657c927b4e3c55.tar.gz
Add more precise type info for stubs
Closes GH-6005
Diffstat (limited to 'ext/spl/spl_dllist_arginfo.h')
-rw-r--r--ext/spl/spl_dllist_arginfo.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/ext/spl/spl_dllist_arginfo.h b/ext/spl/spl_dllist_arginfo.h
index 70435e7e90..4ad6e4db55 100644
--- a/ext/spl/spl_dllist_arginfo.h
+++ b/ext/spl/spl_dllist_arginfo.h
@@ -1,9 +1,9 @@
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 9d2c9ec251d72065d4502bbbc29e927c6b597731 */
+ * Stub hash: 26a454261393ea3bdb6252b2d8140434664b5771 */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SplDoublyLinkedList_add, 0, 0, 2)
- ZEND_ARG_INFO(0, index)
- ZEND_ARG_INFO(0, value)
+ ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SplDoublyLinkedList_pop, 0, 0, 0)
@@ -12,7 +12,7 @@ ZEND_END_ARG_INFO()
#define arginfo_class_SplDoublyLinkedList_shift arginfo_class_SplDoublyLinkedList_pop
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SplDoublyLinkedList_push, 0, 0, 1)
- ZEND_ARG_INFO(0, value)
+ ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
ZEND_END_ARG_INFO()
#define arginfo_class_SplDoublyLinkedList_unshift arginfo_class_SplDoublyLinkedList_push
@@ -39,7 +39,10 @@ ZEND_END_ARG_INFO()
#define arginfo_class_SplDoublyLinkedList_offsetGet arginfo_class_SplDoublyLinkedList_offsetExists
-#define arginfo_class_SplDoublyLinkedList_offsetSet arginfo_class_SplDoublyLinkedList_add
+ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SplDoublyLinkedList_offsetSet, 0, 0, 2)
+ ZEND_ARG_INFO(0, index)
+ ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
+ZEND_END_ARG_INFO()
#define arginfo_class_SplDoublyLinkedList_offsetUnset arginfo_class_SplDoublyLinkedList_offsetExists