Skip to content

Commit

Permalink
Remove useless ZEND_ACC_[C|D]TOR.
Browse files Browse the repository at this point in the history
  • Loading branch information
twose committed Oct 13, 2018
1 parent 2e41237 commit bc9b559
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions redis.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_kscan, 0, 0, 2)
ZEND_END_ARG_INFO()

static zend_function_entry redis_functions[] = {
PHP_ME(Redis, __construct, arginfo_void, ZEND_ACC_CTOR | ZEND_ACC_PUBLIC)
PHP_ME(Redis, __destruct, arginfo_void, ZEND_ACC_DTOR | ZEND_ACC_PUBLIC)
PHP_ME(Redis, __construct, arginfo_void, ZEND_ACC_PUBLIC)
PHP_ME(Redis, __destruct, arginfo_void, ZEND_ACC_PUBLIC)
PHP_ME(Redis, _prefix, arginfo_key, ZEND_ACC_PUBLIC)
PHP_ME(Redis, _serialize, arginfo_value, ZEND_ACC_PUBLIC)
PHP_ME(Redis, _unserialize, arginfo_value, ZEND_ACC_PUBLIC)
Expand Down
2 changes: 1 addition & 1 deletion redis_cluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ ZEND_END_ARG_INFO()

/* Function table */
zend_function_entry redis_cluster_functions[] = {
PHP_ME(RedisCluster, __construct, arginfo_ctor, ZEND_ACC_CTOR | ZEND_ACC_PUBLIC)
PHP_ME(RedisCluster, __construct, arginfo_ctor, ZEND_ACC_PUBLIC)
PHP_ME(RedisCluster, _masters, arginfo_void, ZEND_ACC_PUBLIC)
PHP_ME(RedisCluster, _prefix, arginfo_key, ZEND_ACC_PUBLIC)
PHP_ME(RedisCluster, _redir, arginfo_void, ZEND_ACC_PUBLIC)
Expand Down

0 comments on commit bc9b559

Please sign in to comment.