We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a31abe commit 2191d22Copy full SHA for 2191d22
1 file changed
hashids.c
@@ -332,10 +332,10 @@ PHP_METHOD(hashids, decodeHex) {
332
333
static const zend_function_entry hashids_methods[] = {
334
PHP_ME(hashids, __construct, arginfo__construct, ZEND_ACC_CTOR | ZEND_ACC_PUBLIC)
335
- PHP_ME(hashids, encode, NULL, ZEND_ACC_PUBLIC)
336
- PHP_ME(hashids, decode, NULL, ZEND_ACC_PUBLIC)
337
- PHP_ME(hashids, encodeHex, NULL, ZEND_ACC_PUBLIC)
338
- PHP_ME(hashids, decodeHex, NULL, ZEND_ACC_PUBLIC)
+ PHP_ME(hashids, encode, NULL, ZEND_ACC_STATIC | ZEND_ACC_PUBLIC)
+ PHP_ME(hashids, decode, NULL, ZEND_ACC_STATIC | ZEND_ACC_PUBLIC)
+ PHP_ME(hashids, encodeHex, NULL, ZEND_ACC_STATIC | ZEND_ACC_PUBLIC)
+ PHP_ME(hashids, decodeHex, NULL, ZEND_ACC_STATIC | ZEND_ACC_PUBLIC)
339
PHP_FE_END
340
};
341
0 commit comments