Skip to content

Commit 2191d22

Browse files
committed
Added static function .
1 parent 0a31abe commit 2191d22

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

hashids.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,10 @@ PHP_METHOD(hashids, decodeHex) {
332332

333333
static const zend_function_entry hashids_methods[] = {
334334
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)
335+
PHP_ME(hashids, encode, NULL, ZEND_ACC_STATIC | ZEND_ACC_PUBLIC)
336+
PHP_ME(hashids, decode, NULL, ZEND_ACC_STATIC | ZEND_ACC_PUBLIC)
337+
PHP_ME(hashids, encodeHex, NULL, ZEND_ACC_STATIC | ZEND_ACC_PUBLIC)
338+
PHP_ME(hashids, decodeHex, NULL, ZEND_ACC_STATIC | ZEND_ACC_PUBLIC)
339339
PHP_FE_END
340340
};
341341

0 commit comments

Comments
 (0)