mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Remove useless RETURN_NULLs() (#14350)
These functions are void, their use of RETURN_NULL() was mildly confusing.
This commit is contained in:
@@ -1318,8 +1318,6 @@ PHP_METHOD(DOMElement, setIdAttribute)
|
||||
} else {
|
||||
php_set_attribute_id(attrp, is_id);
|
||||
}
|
||||
|
||||
RETURN_NULL();
|
||||
}
|
||||
/* }}} end dom_element_set_id_attribute */
|
||||
|
||||
@@ -1349,8 +1347,6 @@ PHP_METHOD(DOMElement, setIdAttributeNS)
|
||||
} else {
|
||||
php_set_attribute_id(attrp, is_id);
|
||||
}
|
||||
|
||||
RETURN_NULL();
|
||||
}
|
||||
/* }}} end dom_element_set_id_attribute_ns */
|
||||
|
||||
@@ -1378,8 +1374,6 @@ static void dom_element_set_id_attribute_node(INTERNAL_FUNCTION_PARAMETERS, zend
|
||||
} else {
|
||||
php_set_attribute_id(attrp, is_id);
|
||||
}
|
||||
|
||||
RETURN_NULL();
|
||||
}
|
||||
|
||||
PHP_METHOD(DOMElement, setIdAttributeNode)
|
||||
|
||||
Reference in New Issue
Block a user