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 f35a497 commit fc592c7Copy full SHA for fc592c7
Zend/zend_weakrefs.c
@@ -776,9 +776,7 @@ ZEND_METHOD(WeakMap, offsetUnset)
776
777
ZEND_METHOD(WeakMap, count)
778
{
779
- if (zend_parse_parameters_none() == FAILURE) {
780
- RETURN_THROWS();
781
- }
+ ZEND_PARSE_PARAMETERS_NONE();
782
783
zend_long count;
784
zend_weakmap_count_elements(Z_OBJ_P(ZEND_THIS), &count);
@@ -787,9 +785,7 @@ ZEND_METHOD(WeakMap, count)
787
785
788
786
ZEND_METHOD(WeakMap, getIterator)
789
790
791
792
793
794
zend_create_internal_iterator_zval(return_value, ZEND_THIS);
795
}
0 commit comments