mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
SPL: minor refactoring (#8341)
Use more appropriate types and return macros
This commit is contained in:
parent
8233e06109
commit
cfc38a6014
8 changed files with 24 additions and 32 deletions
|
@ -781,7 +781,7 @@ PHP_METHOD(SplFixedArray, offsetUnset)
|
|||
PHP_METHOD(SplFixedArray, getIterator)
|
||||
{
|
||||
if (zend_parse_parameters_none() == FAILURE) {
|
||||
return;
|
||||
RETURN_THROWS();
|
||||
}
|
||||
|
||||
zend_create_internal_iterator_zval(return_value, ZEND_THIS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue