Skip to content

Commit 07a1921

Browse files
authored
refactor: use ZEND_PARSE_PARAMETERS_NONE() (#14442)
Prefer: ZEND_PARSE_PARAMETERS_NONE(); Over: if (zend_parse_parameters_none() == FAILURE) { RETURN_THROWS(); } It's shorter, more modern, and they do the same thing. Technically, ZEND_PARSE_PARAMETERS_NONE doesn't check that there's an exception, but it generates one, so it's still cohesive.
1 parent 5afe41b commit 07a1921

File tree

1 file changed

+70
-219
lines changed

1 file changed

+70
-219
lines changed

0 commit comments

Comments
 (0)