We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20a44af commit e0a82b5Copy full SHA for e0a82b5
1 file changed
ext/opcache/zend_accelerator_module.c
@@ -946,11 +946,7 @@ ZEND_FUNCTION(opcache_invalidate)
946
RETURN_FALSE;
947
}
948
949
- if (zend_accel_invalidate(script_name, force) == SUCCESS) {
950
- RETURN_TRUE;
951
- } else {
952
- RETURN_FALSE;
953
- }
+ RETURN_BOOL(zend_accel_invalidate(script_name, force) == SUCCESS);
954
955
956
/* {{{ Prevents JIT on function. Call it before the first invocation of the given function. */
0 commit comments