mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
ext/tidy: Use RETURN_STR() instead of RETVAL_STR() + return;
This commit is contained in:
parent
4fd91c6fa4
commit
bf3d7d1f9a
1 changed files with 1 additions and 2 deletions
|
@ -1323,8 +1323,7 @@ PHP_FUNCTION(tidy_getopt)
|
||||||
optval = php_tidy_get_opt_val(obj->ptdoc, opt, &optt);
|
optval = php_tidy_get_opt_val(obj->ptdoc, opt, &optt);
|
||||||
switch (optt) {
|
switch (optt) {
|
||||||
case TidyString:
|
case TidyString:
|
||||||
RETVAL_STR((zend_string*)optval);
|
RETURN_STR((zend_string*)optval);
|
||||||
return;
|
|
||||||
|
|
||||||
case TidyInteger:
|
case TidyInteger:
|
||||||
RETURN_LONG((zend_long)optval);
|
RETURN_LONG((zend_long)optval);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue