diff options
author | Fabien Villepinte <fabien.villepinte@gmail.com> | 2017-04-18 17:03:42 +0200 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2017-05-02 06:20:40 +0100 |
commit | f50df1d0e33aaf5007670966ca067318e064df82 (patch) | |
tree | d76530b047111e6d09dd803f40568e25184ad866 /ext/intl/collator | |
parent | a581e641994908af2ffdcac652ad14c34fbdef4c (diff) | |
download | php-git-f50df1d0e33aaf5007670966ca067318e064df82.tar.gz |
Fix bug #74468 wrong reflection on Collator::sortWithSortKeys
Diffstat (limited to 'ext/intl/collator')
-rw-r--r-- | ext/intl/collator/collator_class.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/intl/collator/collator_class.c b/ext/intl/collator/collator_class.c index 4fc7067708..0821cb19d8 100644 --- a/ext/intl/collator/collator_class.c +++ b/ext/intl/collator/collator_class.c @@ -95,6 +95,10 @@ ZEND_BEGIN_ARG_INFO_EX( collator_sort_args, 0, 0, 1 ) ZEND_ARG_INFO( 0, flags ) ZEND_END_ARG_INFO() +ZEND_BEGIN_ARG_INFO_EX( collator_sort_with_sort_keys_args, 0, 0, 1 ) + ZEND_ARG_ARRAY_INFO( 1, arr, 0 ) +ZEND_END_ARG_INFO() + /* }}} */ /* {{{ Collator_class_functions @@ -106,7 +110,7 @@ zend_function_entry Collator_class_functions[] = { ZEND_FENTRY( create, ZEND_FN( collator_create ), collator_1_arg, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) PHP_NAMED_FE( compare, ZEND_FN( collator_compare ), collator_2_args ) PHP_NAMED_FE( sort, ZEND_FN( collator_sort ), collator_sort_args ) - PHP_NAMED_FE( sortWithSortKeys, ZEND_FN( collator_sort_with_sort_keys ), collator_sort_args ) + PHP_NAMED_FE( sortWithSortKeys, ZEND_FN( collator_sort_with_sort_keys ), collator_sort_with_sort_keys_args ) PHP_NAMED_FE( asort, ZEND_FN( collator_asort ), collator_sort_args ) PHP_NAMED_FE( getAttribute, ZEND_FN( collator_get_attribute ), collator_1_arg ) PHP_NAMED_FE( setAttribute, ZEND_FN( collator_set_attribute ), collator_2_args ) |