@@ -692,9 +692,9 @@ typedef enum _zend_expected_type {
692
692
Z_EXPECTED_LAST
693
693
} zend_expected_type ;
694
694
695
- ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_paramers_count_error (int num_args , int min_num_args , int max_num_args );
696
- ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_paramer_type_error (int num , zend_expected_type expected_type , zval * arg );
697
- ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_paramer_class_error (int num , char * name , zval * arg );
695
+ ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameters_count_error (int num_args , int min_num_args , int max_num_args );
696
+ ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_type_error (int num , zend_expected_type expected_type , zval * arg );
697
+ ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_class_error (int num , char * name , zval * arg );
698
698
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_callback_error (int severity , int num , char * error );
699
699
700
700
#define ZPP_ERROR_OK 0
@@ -729,7 +729,7 @@ ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_callback_error(int severity, in
729
729
(UNEXPECTED(_num_args > _max_num_args) && \
730
730
EXPECTED(_max_num_args >= 0))) { \
731
731
if (!(_flags & ZEND_PARSE_PARAMS_QUIET)) { \
732
- zend_wrong_paramers_count_error (_num_args, _min_num_args, _max_num_args); \
732
+ zend_wrong_parameters_count_error (_num_args, _min_num_args, _max_num_args); \
733
733
} \
734
734
error_code = ZPP_ERROR_FAILURE; \
735
735
break; \
@@ -747,9 +747,9 @@ ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_callback_error(int severity, in
747
747
if (error_code == ZPP_ERROR_WRONG_CALLBACK) { \
748
748
zend_wrong_callback_error(E_WARNING, _i, _error); \
749
749
} else if (error_code == ZPP_ERROR_WRONG_CLASS) { \
750
- zend_wrong_paramer_class_error (_i, _error, _arg); \
750
+ zend_wrong_parameter_class_error (_i, _error, _arg); \
751
751
} else if (error_code == ZPP_ERROR_WRONG_ARG) { \
752
- zend_wrong_paramer_type_error (_i, _expected_type, _arg); \
752
+ zend_wrong_parameter_type_error (_i, _expected_type, _arg); \
753
753
} \
754
754
} \
755
755
failure; \
0 commit comments