Skip to content

Commit 712b536

Browse files
committed
Evaluate in numerical order
1 parent 0ccd92f commit 712b536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pcntl/pcntl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ PHP_FUNCTION(pcntl_waitid)
403403
Z_PARAM_LONG(options)
404404
ZEND_PARSE_PARAMETERS_END();
405405

406-
if (idtype != P_ALL && idtype != P_PID && idtype != P_PIDFD && idtype != P_PGID) {
406+
if (idtype != P_ALL && idtype != P_PID && idtype != P_PGID && idtype != P_PIDFD) {
407407
zend_argument_value_error(1, "must be one of P_ALL, P_PID, P_PGID, P_PIDFD");
408408
RETURN_THROWS();
409409
}

0 commit comments

Comments
 (0)